demo_app in chapter 2 of railstutorial.org