acts_as_state_machine - state is always nil

July 26th, 2008 No Comments

If you are using the acts_as_state_machine plugin to manage the state of your object keep this in mind:
If you are going to have an object like an order or something similar that likely has a field state_id to relate in a geographic state then you need to be sure to rename the column that acts_as_state_machine [...]

Tags:   · ·