MY same_app in rails