The first_app for rails4