sample_app for rails4