1
0
Fork 0
mirror of https://github.com/aasm/aasm synced 2023-03-27 23:22:41 -04:00
Commit graph

10 commits

Author SHA1 Message Date
Chad Humphries
0fc6b42ac3 Updated changelog and version 2008-05-29 07:16:45 -07:00
Jeff Dean
482e8d970d Changed scott's email address to protect it from spambots when publishing rdocs 2008-04-29 02:12:27 -04:00
Jeff Dean
277373b41a updated docs 2008-04-29 02:08:51 -04:00
Jeff Dean
cb6bd4f534 * Specs and bug fixes for the ActiveRecordPersistence, keeping persistence columns in sync
Allowing for nil values in states for active record
  New non-(!) methods that allow for firing events without persisting [Jeff Dean]
2008-04-29 01:27:56 -04:00
Chad Humphries
bd788a5212 Added aasm_states_for_select that will return a select friendly collection of states.
Also added additional tests
2008-04-14 15:57:34 -04:00
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
Scott Barron
32156165d4 Add aasm_events_for_state and aasm_events_for_current_state [Joao Paulo Lins] 2008-02-28 08:33:40 -05:00
Scott Barron
bb5f7e00a4 update changelog 2008-02-27 16:31:40 -05:00
Scott Barron
a68200556e Make #event! methods return a boolean [Joel Chippindale] 2008-02-21 12:11:25 -05:00
Scott Barron
85baeda50a Prepare rakefile and rake tasks for gem packaging and rdocing 2008-02-21 11:41:56 -05:00