sample_app from ror tutorial