Code I wrote while taking the Ruby on Rails track at teamtreehouse.com