Class CanCan::ModelAdapters::AbstractAdapter
In: lib/cancan/model_adapters/abstract_adapter.rb
Parent: Object

Methods

Public Class methods

Override if you need custom find behavior

Used to determine if the given adapter should be used for the passed in class.

Used to determine if this model adapter will override the matching behavior for a specific condition. If this returns true then matches_condition? will be called. See Rule#matches_conditions_hash

Used to determine if this model adapter will override the matching behavior for a hash of conditions. If this returns true then matches_conditions_hash? will be called. See Rule#matches_conditions_hash

Public Instance methods

[Validate]