going through http://guides.rubyonrails.org/