following the ruby.railstutorial.org