Following Ruby on Rails tutorial based off of http://ruby.railstutorial.org/ruby-on-rails-tutorial-book#top