I'm using AASM to manage states in my User model.
I want to change the status through the edit action.
To do this I'm using the method User.aasm_states_for_select in my form
to populate the select input for states.
When I hit the button commit all the changes are saved, including the
state name. But the AASM event for that state is not called, it is
happening because only the field status has changed and the event method
has not been called.
Does anyone have a solution for my problem?