You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Your expectations are wrong in this case, not the gem.
Since any number of before and after transition handlers can be registered - nowhere does the documentation state that there is only one singleton handler which gets substituted in place.
You can modify the callbacks array of the machine, or use the :do => :method syntax and override the method instead of trying to replace a nameless proc.
State Machines in inherited classes cannot be overriden in child classes.
See following example:
The text was updated successfully, but these errors were encountered: