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
the initial transition is created and the callbacks then fired from this initializer, so if the state_machine isn't called after create of a model, this doesn't fire.
I'm not exactly sure of the scenarios state_machine isn't touched, if something happens internally with Statesman but not always or if it mostly happens that our code touches it in most cases, but we've had sporadic issues that has led me to add
after_create{state_machine}
to the models using Statesman, which appears to fix.
Should we need to do this, if so, could it be added to the documentation, if not, any ideas where we're going wrong?
Many thanks!
The text was updated successfully, but these errors were encountered:
The documentation suggests implementing like:
the initial transition is created and the callbacks then fired from this initializer, so if the
state_machine
isn't called after create of a model, this doesn't fire.I'm not exactly sure of the scenarios
state_machine
isn't touched, if something happens internally with Statesman but not always or if it mostly happens that our code touches it in most cases, but we've had sporadic issues that has led me to addto the models using Statesman, which appears to fix.
Should we need to do this, if so, could it be added to the documentation, if not, any ideas where we're going wrong?
Many thanks!
The text was updated successfully, but these errors were encountered: