sample_app learning ror