From 2c7b52dc015686d5c749533d9a0f62a2e8b94aac Mon Sep 17 00:00:00 2001 From: Alexander Marychev Date: Tue, 7 May 2024 12:33:32 +0300 Subject: [PATCH] Cleaning --- lib/action_policy/policy/scoping.rb | 2 -- 1 file changed, 2 deletions(-) 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)