sample_app from book RoR tutorial