Tutorial from http://guides.rubyonrails.org/getting_started.html