Following the RoR tutorial at http://ruby.railstutorial.org/ruby-on-rails-tutorial-book