Following ruby.railstutorial.org