1
0
Fork 0
mirror of https://github.com/aasm/aasm synced 2023-03-27 23:22:41 -04:00
aasm/lib
Scott Barron 61b6b8ec06 Add two event callbacks:
aasm_event_fired(from, to) - called when an event is fired successfully
aasm_event_failed(event)   - called when an event fails

These could be used to implement transition logging [Artem Vasiliev] or
setting a timestamp column [Mike Ferrier] as well as other pieces of love and magic.
2008-03-02 07:52:46 -05:00
..
persistence Fix AR persistence so new records have their state set. [Joao Paulo Lins] 2008-02-27 15:32:52 -05:00
aasm.rb Add two event callbacks: 2008-03-02 07:52:46 -05:00
event.rb Add aasm_events_for_state and aasm_events_for_current_state [Joao Paulo Lins] 2008-02-28 08:33:40 -05:00
persistence.rb Some automatic persistence hooks for ActiveRecord objects 2008-02-22 15:46:31 -05:00
state.rb Import into git 2008-01-07 14:11:38 -05:00
state_transition.rb Bring in transition guards 2008-02-21 10:46:06 -05:00
version.rb Add AASM::VERSION module and have the gem task use it 2008-02-21 12:37:56 -05:00