Changeset [cfb5479a8ded1b7ab829cf02155e43e54c4bc725] by Ahmed AbdelHalim

January 3rd, 2019 @ 10:28 AM

Update InvalidTransition to include state_machine_name

For easier debugging and error handling for models with multiple state_machines.
This non-breaking change add the state_machine name to the attributes of the InvalidTransition error
https://github.com/aasm/aasm/commit/cfb5479a8ded1b7ab829cf02155e43e...

Committed by Ahmed AbdelHalim

  • M lib/aasm/errors.rb
New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Library for adding state machines to Ruby classes. Includes persistence layers for things like ActiveRecord. Formerly known as acts_as_state_machine.