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 or self.initial_state is deprecated and will be removed in the next major release. Change ruby include Statesman::Adapters::ActiveRecordQueries def self.initial_state :initial end def self.transition_class MyTransition end to ruby include Statesman::Adapters::ActiveRecordQueries[ initial_state: :initial, transition_class: MyTransition ]