change Dependency to Rails 3.1