first_app in rails