For a project we're working on, we use the state_machine gem to handle state transitions. A new requirement recently came up that involves keeping track of the state changes historically, for marketing and analytic purposes. We decided to throw...

Keep on reading ›