update to railties 4.0.0