Update rails dependency ~> 4.0.0