Updated dependency for Rails 4.0

Dependency of Railties needed to be updated for Rails 4.0.