first_app from http://ruby.railstutorial.org/