class Guise::GuiseForScope

@api private

Public Instance Methods

call() click to toggle source
# File lib/guise/scopes.rb, line 57
def call
  @options.association_class.where(@options.attribute => @value)
end
type() click to toggle source
# File lib/guise/scopes.rb, line 61
def type
  :guise_for
end