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 :namespace option is only used for states and events (i.e. car_parked? for a "parked" state or can_park? for a "park" event). Methods like "state_events" are already namespaced by the name of the state machine. The prefix used here ("state") is based on the name of the machine. You can change the name of the machine to anything you want, but you’ll just need to explicitly set the attribute to write to via the :attribute option in the state_machine.
Thomas Darde opened this issue
I think the state_events helper is not generated when using multiple state_machines and the namespace feature. (only the main namespace is available)
original LH ticket
This ticket has 0 attachment(s).
The text was updated successfully, but these errors were encountered: