diff --git a/lib/action_policy/policy/scoping.rb b/lib/action_policy/policy/scoping.rb index af92e74..e1b5e9d 100644 --- a/lib/action_policy/policy/scoping.rb +++ b/lib/action_policy/policy/scoping.rb @@ -90,8 +90,6 @@ def included(base) # If `type` is not specified then we try to infer the type from the # target class. def apply_scope(target, type:, name: :default, scope_options: nil) - # binding.pry - raise ActionPolicy::UnknownScopeType.new(self.class, type) unless self.class.scoping_handlers.key?(type)