aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/querying.rb
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2019-03-29 16:01:45 -0700
committerGitHub <noreply@github.com>2019-03-29 16:01:45 -0700
commit4e076b03b6312b928a845f9a31288d10d7243338 (patch)
tree0c3a4a9316ee19626dcdaabec7c33e355ba03c56 /activerecord/lib/active_record/querying.rb
parent406d3a926cfcd3724f8002f70346aad95eed4a8c (diff)
downloadrails-4e076b03b6312b928a845f9a31288d10d7243338.tar.gz
rails-4e076b03b6312b928a845f9a31288d10d7243338.tar.bz2
rails-4e076b03b6312b928a845f9a31288d10d7243338.zip
Add `ActiveRecord::Relation#extract_associated` for extracting associated record (#35784)
* Add `ActiveRecord::Relation#extract_associated` for extracting associated records from a relation
Diffstat (limited to 'activerecord/lib/active_record/querying.rb')
-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 81ab502824..ae1501f5a1 100644
--- a/activerecord/lib/active_record/querying.rb
+++ b/activerecord/lib/active_record/querying.rb
@@ -13,7 +13,7 @@ module ActiveRecord
:destroy_all, :delete_all, :update_all, :destroy_by, :delete_by,
:find_each, :find_in_batches, :in_batches,
:select, :reselect, :order, :reorder, :group, :limit, :offset, :joins, :left_joins, :left_outer_joins,
- :where, :rewhere, :preload, :eager_load, :includes, :from, :lock, :readonly, :extending, :or,
+ :where, :rewhere, :preload, :extract_associated, :eager_load, :includes, :from, :lock, :readonly, :extending, :or,
:having, :create_with, :distinct, :references, :none, :unscope, :optimizer_hints, :merge, :except, :only,
:count, :average, :minimum, :maximum, :sum, :calculate, :annotate,
:pluck, :pick, :ids