http://ruby.railstutorial.org/book/ruby-on-rails-tutorial#cha-a_demo_app