1
0
Fork 0
mirror of https://github.com/aasm/aasm synced 2023-03-27 23:22:41 -04:00
AASM - State machines for Ruby classes (plain Ruby, ActiveRecord, Mongoid, NoBrainer, Dynamoid)
Find a file
Scott Barron 05249c09a3 Fix AR persistence so new records have their state set. [Joao Paulo Lins]
Ensure that a state is written for a new record even if aasm_current_state or
{state}= are never called.
2008-02-27 15:32:52 -05:00
doc Prepare rakefile and rake tasks for gem packaging and rdocing 2008-02-21 11:41:56 -05:00
lib Fix AR persistence so new records have their state set. [Joao Paulo Lins] 2008-02-27 15:32:52 -05:00
spec More consistent aasm_ namespacing 2008-02-21 12:59:28 -05:00
aasm.rb Import into git 2008-01-07 14:11:38 -05:00
CHANGELOG Make #event! methods return a boolean [Joel Chippindale] 2008-02-21 12:11:25 -05:00
MIT-LICENSE Add .aasm_states method to get a list of all states for a class 2008-02-21 12:54:42 -05:00
Rakefile Add .aasm_states method to get a list of all states for a class 2008-02-21 12:54:42 -05:00
README Throw a quick blurb in the readme 2008-02-22 18:23:19 -05:00
TODO Updated TODO 2008-02-22 15:47:05 -05:00

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