beforeRailsNew