first_app from the rails tutorial, jan 2014