Following ruby.railstutorial.org to make some Ruby on Rails magic