61b6b8ec06
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. |
||
---|---|---|
doc | ||
lib | ||
spec | ||
CHANGELOG | ||
MIT-LICENSE | ||
README | ||
Rakefile | ||
TODO | ||
aasm.rb |
README
This is AASM AASM is an evolution of the Rails plugin acts_as_state_machine. AASM Features Everything you've come to know and love from acts_as_state_machine, and then some: - Separation from Rails * Mix into any Ruby class - Persistence hooks so state can be saved in whatever floats your boat * e.g. ActiveRecord, Marshal, etc. See the TODO for more. gem install aasm scott@elitists.net