Displaying 1 result from an estimated 1 matches for "aasm_states_for_select".
2009 Oct 31
1
How to changing a AASM state using a Edit Action+Form View?
Hello there,
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 hav...