Commit Graph

10 Commits

Author SHA1 Message Date
Scott Barron 03780617a1 Pass the state into aasm_write_state 2008-02-21 11:15:40 -05:00
Scott Barron 91794f70fe rename aasm_persist to aasm_write_state
add aasm_read_state to complete persistence
2008-02-21 11:08:55 -05:00
Scott Barron 8c02c47160 Bring in transition guards 2008-02-21 10:46:06 -05:00
Scott Barron b4c69afcf2 A basic, functioning state machine working for regular ruby objects
Started persistence hook
Complete spec coverage
2008-02-21 10:16:08 -05:00
Scott Barron 342984a3eb move .events to .aasm_events 2008-01-08 10:03:18 -05:00
Scott Barron 7aae9e432d don't expose #events 2008-01-08 09:58:02 -05:00
Scott Barron 4fd58db233 aasm_after_update -> aasm_persist 2008-01-08 09:41:52 -05:00
Scott Barron 8697e97b7d current_state -> aasm_current_state 2008-01-08 09:39:00 -05:00
Scott Barron 053e9c7eee Strip down to a very basic state machine with transitions 2008-01-07 15:07:38 -05:00
Scott Barron f6a8a34f06 Import into git 2008-01-07 14:11:38 -05:00