class Permissify::NoScope

Raised by authorized_scope when no SQL-capable scope builder is registered for the resolved permission. Missing scopes fail loud — never a fallback to all rows.

Public Class Methods

new(resource_key, target) click to toggle source
Calls superclass method
# File lib/permissify/errors.rb, line 37
def initialize(resource_key, target)
  super("no authorized_scope registered for #{resource_key}##{target}")
end