Statesman v5.0.0 Release Notes
Release Date: 2019-11-11 // over 4 years ago-
- Adds new syntax and restrictions to ActiveRecordQueries PR#358. With the introduction of this, defining
self.transition_class
orself.initial_state
is deprecated and will be removed in the next major release. Changeruby include Statesman::Adapters::ActiveRecordQueries def self.initial_state :initial end def self.transition_class MyTransition end
toruby include Statesman::Adapters::ActiveRecordQueries[ initial_state: :initial, transition_class: MyTransition ]
- Adds new syntax and restrictions to ActiveRecordQueries PR#358. With the introduction of this, defining