diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2015-08-07 09:14:20 -0500 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2015-08-07 09:14:20 -0500 |
commit | b3f5d3c7b2589da45c09aa2a716be10a8213510d (patch) | |
tree | 36cc106417779b702fcd4dafc8e418644ec74e81 /activerecord/lib/active_record/querying.rb | |
parent | 52c1464c0ee9294ece7af258bde5ec1cf5391019 (diff) | |
parent | 25cee1f0373aa3b1d893413a959375480e0ac684 (diff) | |
download | rails-b3f5d3c7b2589da45c09aa2a716be10a8213510d.tar.gz rails-b3f5d3c7b2589da45c09aa2a716be10a8213510d.tar.bz2 rails-b3f5d3c7b2589da45c09aa2a716be10a8213510d.zip |
Merge pull request #20933 from siadat/relations-in-batches-using-ids
in_batches using ids
Diffstat (limited to 'activerecord/lib/active_record/querying.rb')
-rw-r--r-- | activerecord/lib/active_record/querying.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/querying.rb b/activerecord/lib/active_record/querying.rb index 4e597590e9..87a1988f2f 100644 --- a/activerecord/lib/active_record/querying.rb +++ b/activerecord/lib/active_record/querying.rb @@ -6,7 +6,7 @@ module ActiveRecord delegate :find_or_create_by, :find_or_create_by!, :find_or_initialize_by, to: :all delegate :find_by, :find_by!, to: :all delegate :destroy, :destroy_all, :delete, :delete_all, :update, :update_all, to: :all - delegate :find_each, :find_in_batches, to: :all + delegate :find_each, :find_in_batches, :in_batches, to: :all delegate :select, :group, :order, :except, :reorder, :limit, :offset, :joins, :or, :where, :rewhere, :preload, :eager_load, :includes, :from, :lock, :readonly, :having, :create_with, :uniq, :distinct, :references, :none, :unscope, to: :all |