state_machines
state_machines copied to clipboard
Better readme on static / dynamic definitons chapter
The code that was posted before changed the value of the state method in the Vehicle class to the initial one, no matter if it already has one or not.
Was useful to fix the problem with activerecord and dynamic state machine class (dynamic state machine class overrides activerecord object state to initial on each initialization).