title: state_machine gem Call Method Every Step Change
body: <p>Using the gem <code>state_machine</code> how do you call a method every time the state changes? I read over the <a href="https://github.com/pluginaweek/state_machine" rel="nofollow">documentation</a> and don't know whether I should use events or states, and how to implement it.</p>