Archive for the 'acts_as_state_machine' Category

While using great acts_as_state_machine plugin at work I needed to make some improvements to it. This example illustrates new :log_transitions option to acts_as_state_machine directive and how it can be used to audit transitions to action_history_items table – I like to have an action history log for objects that travel by states.
I’d be happy to publish [...]