Statesman v1.0.0.beta1 Release Notes
Release Date: 2014-10-09 // over 9 years ago-
💥 Breaking changes
- Classes which include
ActiveRecordModel
must define aninitial_state
class method.
🛠 Fixes
ActiveRecordModel.in_state
andActiveRecordModel.not_in_state
now handle inital states correctly (patch by @isaacseymour)
➕ Additions
- Transition tables created by generated migrations have
NOT NULL
constraints onto_state
,sort_key
and foreign key columns (patch by @greysteil) before_transition
andafter_transition
allow an array of to states (patch by @isaacseymour)
- Classes which include