Module: Statesman::Adapters::ActiveRecordTransition
- Extended by:
- ActiveSupport::Concern
- Defined in:
- lib/statesman/adapters/active_record_transition.rb
Constant Summary collapse
- DEFAULT_UPDATED_TIMESTAMP_COLUMN =
:updated_at
Instance Method Summary collapse
Instance Method Details
#from_state ⇒ Object
23 24 25 26 27 |
# File 'lib/statesman/adapters/active_record_transition.rb', line 23 def from_state if has_attribute?(:from_state) self[:from_state] end end |