second application of railstutorial