sample_app of RoR tutorial