871 B
871 B
Planned changes
version 4.3
- add support for multiple state machines per class
- documentation
- silence warnings?
- drop support for aasm_column ?
Currently working on
- add support for multiple state machines per class
Changes so far
version 4.3
- add support for multiple state machines per class
- class- and instance-level
aasm
methods accept a state machine selector (aka the state machine name)- if no selector/name is provided,
:default
will be used
- if no selector/name is provided,
- duplicate definitions of states and events will issue warnings
- check all tests
- ActiveRecord
- Mongoid
- MongoMapper
- Sequel
- what happen's if someone accesses
aasm
, but has defined a state machine foraasm(:my_name)
?
- class- and instance-level
- drop support for find_in_state, count_in_state, calculate_in_state, with_state_scope