# File lib/pundit/policy_finder.rb, line 44 def scope! scope or raise NotDefinedError, "unable to find scope `#{find(object)}::Scope` for `#{object.inspect}`" end