RailsCasts Pro episodes are now free!

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.
  • Download:
  • source codeProject Files in Zip (127 KB)
  • mp4Full Size H.264 Video (31.5 MB)
  • m4vSmaller H.264 Video (16 MB)
  • webmFull Size VP8 Video (19 MB)
  • ogvFull Size Theora Video (36.3 MB)