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

28 lines
1.2 KiB
Text
Raw Normal View History

* Use named_scope in AR persistence layer, if available [Jan De Poorter]
2008-05-29 10:16:45 -04:00
* Incremented version number
2008-05-29 10:16:45 -04:00
* Cleaned up aasm_states_for_select to return the value as a string
* Specs and bug fixes for the ActiveRecordPersistence, keeping persistence columns in sync
Allowing for nil values in states for active record
2008-04-29 02:08:51 -04:00
Only set state to default state before_validation_on_create
New rake task to uninstall, build and reinstall the gem (useful for development)
Changed scott's email address to protect it from spambots when publishing rdocs
New non-(!) methods that allow for firing events without persisting [Jeff Dean]
* Added aasm_states_for_select that will return a select friendly collection of states.
* Add some event callbacks, #aasm_event_fired(from, to), and #aasm_event_failed(event)
Based on transition logging suggestion [Artem Vasiliev] and timestamp column suggestion [Mike Ferrier]
* Add #aasm_events_for_state and #aasm_events_for_current_state [Joao Paulo Lins]
2008-02-27 16:31:40 -05:00
* Ensure that a state is written for a new record even if aasm_current_state or
{state}= are never called.
* Fix AR persistence so new records have their state set. [Joao Paulo Lins]
* Make #event! methods return a boolean [Joel Chippindale]
2008-02-27 16:31:40 -05:00