Update dependency to Railties 4.0.0