diff options
author | Xavier Noria <fxn@hashref.com> | 2013-02-25 21:31:03 +0100 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2013-02-25 21:31:03 +0100 |
commit | 3d303f5af8af66c58ca9d7aa5cc4e7ad143aacdd (patch) | |
tree | d03b77ae92e9ab0228b4e8dda813044372242b9f | |
parent | e75ce25f3931360f3900a26938f0ad8996671f58 (diff) | |
download | rails-3d303f5af8af66c58ca9d7aa5cc4e7ad143aacdd.tar.gz rails-3d303f5af8af66c58ca9d7aa5cc4e7ad143aacdd.tar.bz2 rails-3d303f5af8af66c58ca9d7aa5cc4e7ad143aacdd.zip |
AR loads activerecord-deprecated_finders, no need to add it to the Gemfile
-rw-r--r-- | activerecord/CHANGELOG.md | 11 | ||||
-rw-r--r-- | activerecord/lib/active_record/dynamic_matchers.rb | 2 |
2 files changed, 7 insertions, 6 deletions
diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md index 195b427449..ee7805c4ba 100644 --- a/activerecord/CHANGELOG.md +++ b/activerecord/CHANGELOG.md @@ -1256,12 +1256,11 @@ * `:conditions` becomes `:where`. * `:include` becomes `:includes`. - The code to implement the deprecated features has been moved out to - the `activerecord-deprecated_finders` gem. This gem is a dependency - of Active Record in Rails 4.0. It will no longer be a dependency - from Rails 4.1, but if your app relies on the deprecated features - then you can add it to your own Gemfile. It will be maintained by - the Rails core team until Rails 5.0 is released. + The code to implement the deprecated features has been moved out to the + `activerecord-deprecated_finders` gem. This gem is a dependencyof Active + Record in Rails 4.0, so the interface works out of the box. It will no + longer be a dependency from Rails 4.1 (you'll need to add it to the + `Gemfile` in 4.1), and will be maintained until Rails 5.0. *Jon Leighton* diff --git a/activerecord/lib/active_record/dynamic_matchers.rb b/activerecord/lib/active_record/dynamic_matchers.rb index 3bac31c6aa..12b3700695 100644 --- a/activerecord/lib/active_record/dynamic_matchers.rb +++ b/activerecord/lib/active_record/dynamic_matchers.rb @@ -1,3 +1,5 @@ +require 'active_record/deprecated_finders' + module ActiveRecord module DynamicMatchers #:nodoc: # This code in this file seems to have a lot of indirection, but the indirection |