class Pundit::PolicyScopingNotPerformedError
Error
that will be raised if a controller action has not called the ‘policy_scope` or `skip_policy_scope` methods.
Error
that will be raised if a controller action has not called the ‘policy_scope` or `skip_policy_scope` methods.