Sign in through GitHub

Please read for an updated status on RailsCasts:

Learn more or hide this

A Tour of State Machines

#392 A Tour of State Machines pro

Nov 17, 2012 | 12 minutes | Active Record, Testing, Plugins
Here I show how three popular state machine gems can be used to clean up a list of boolean/datetime fields. I also show a custom solution which keeps track of the history of events.