rail tutorial sample_app