State Machine v1.1.0 Release Notes
Release Date: 2011-11-13 // over 12 years ago-
- ๐ Allow the transitions / known states for an event to be reset
- Add fire_#{name}_event instance method for firing an arbitrary event on a state machine
- ๐ Improve InvalidTransition exception messages to include the failure reason(s) in ORM integrations
- ๐ Don't allow around_transitions to attempt to be called in multiple execution contexts when run in jruby
- ๐ Allow :from option to be used in transitions defined within state contexts
- ๐ Fix arguments / block not being preserved when chaining methods defined in state contexts
- ๐ Fix super not being allowed when a method is defined for multiple state contexts
- ๐ Change loopbacks to only cause objects to be persisted when the ORM decides it's necessary, instead of always forcing persistence
- ๐ Fix Mongoid 2.3.x integrations not initializing dynamic states in the same manner as other integrations with initialize callbacks