State Machine v1.0.3 Release Notes

Release Date: 2011-11-05 // over 12 years ago
    • ๐Ÿ›  Fix MongoMapper 0.10.0+ integrations not matching versions properly
    • โšก๏ธ Update warnings for method conflicts to include instructions on how to ignore conflicts
    • ๐Ÿ›  Fix state initialization in Mongoid 2.3.x integrations [Durran Jordan]
    • ๐Ÿ›  Fix after_transition callbacks sometimes not running in Mongoid 2.2.x integrations
    • ๐Ÿ”Œ Automatically load the plugins required in Sequel integrations
    • ๐Ÿ‘ Allow all / any matcher helpers to be used when defining states / events
    • ๐Ÿ‘ Allow states / events to be referenced by the string equivalent of their name
    • ๐Ÿ›  Fix observer callbacks being run incorrectly when using nil states in ActiveModel-based integrations
    • โœ‚ Remove ActiveModel Observer method chains in order to better ensure compatibility
    • โšก๏ธ Update DataMapper integration for 1.2.0+ support [Markus Schirp]
    • ๐ŸŒ Provide access to the human state name in invalid_transition translations
    • Add support for i18n keys in the form of #{i18n_scope}.state_machines.#{model_name}.states/events.#{value}
    • Clarify documentation on writing to state machine attributes, using factory_girl and can_#{event} / #{event}_transition helpers
    • โž• Add documentation for dynmically generating state machines