sample_app following rails tutorials