Following ruby.railstutorial.org demo_app