This is the Ruby on Rails Sample by Michael Hartl