aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record
diff options
context:
space:
mode:
authorKasper Timm Hansen <kaspth@gmail.com>2017-05-31 19:37:57 +0200
committerGitHub <noreply@github.com>2017-05-31 19:37:57 +0200
commit6fecb188fa14e7ef7b8bbc0b8e5070306338d22c (patch)
treef975cad2fdddfe5d33e286facf2e6430375ec93a /activerecord/lib/active_record
parent7c800fe5e338540ef195f071a7f3604ed4197f3f (diff)
parent262ef5df706dcfaa8770108acbc178db32e3ae88 (diff)
downloadrails-6fecb188fa14e7ef7b8bbc0b8e5070306338d22c.tar.gz
rails-6fecb188fa14e7ef7b8bbc0b8e5070306338d22c.tar.bz2
rails-6fecb188fa14e7ef7b8bbc0b8e5070306338d22c.zip
Merge pull request #29296 from kamipo/delegate_extending_to_relation
Add missing `delegate :extending, to: :all`
Diffstat (limited to 'activerecord/lib/active_record')
-rw-r--r--activerecord/lib/active_record/querying.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/querying.rb b/activerecord/lib/active_record/querying.rb
index c4a22398f0..b16e178358 100644
--- a/activerecord/lib/active_record/querying.rb
+++ b/activerecord/lib/active_record/querying.rb
@@ -8,7 +8,7 @@ module ActiveRecord
delegate :destroy, :destroy_all, :delete, :delete_all, :update, :update_all, to: :all
delegate :find_each, :find_in_batches, :in_batches, to: :all
delegate :select, :group, :order, :except, :reorder, :limit, :offset, :joins, :left_joins, :left_outer_joins, :or,
- :where, :rewhere, :preload, :eager_load, :includes, :from, :lock, :readonly,
+ :where, :rewhere, :preload, :eager_load, :includes, :from, :lock, :readonly, :extending,
:having, :create_with, :distinct, :references, :none, :unscope, :merge, to: :all
delegate :count, :average, :minimum, :maximum, :sum, :calculate, to: :all
delegate :pluck, :ids, to: :all