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

871 B

Planned changes

version 4.3

  • add support for multiple state machines per class
    • 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
    • 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 for aasm(:my_name)?
    • documentation
  • drop support for find_in_state, count_in_state, calculate_in_state, with_state_scope