Method: StateMachines::Integrations::ActiveRecord.matching_ancestors

Defined in:
lib/state_machines/integrations/active_record.rb

.matching_ancestorsObject

Classes that inherit from ActiveRecord::Base will automatically use the ActiveRecord integration.



365
366
367
# File 'lib/state_machines/integrations/active_record.rb', line 365

def matching_ancestors
  [::ActiveRecord::Base]
end