RailsCasts Pro episodes are now free!

Learn more or hide this

Applied Filters: named_scope xTesting x
A Tour of State Machines
Episode #392Nov 17, 201293 comments

A Tour of State Machines

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. (12 minutes)