Update railties from ~> 3.0 to 4.0