learning rails4, sample_app