sample app from rails tut