diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2018-04-20 11:33:52 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2018-04-20 11:33:52 +0900 |
commit | 4dc5476fbeabba2adcbaa9c24d61172fbf022bea (patch) | |
tree | 8f99a2bdf0783629a2c6cb000c6dd9cfda578d4b | |
parent | 893bf7ee2f8354f2abf468609ab0f166484a9bed (diff) | |
download | rails-4dc5476fbeabba2adcbaa9c24d61172fbf022bea.tar.gz rails-4dc5476fbeabba2adcbaa9c24d61172fbf022bea.tar.bz2 rails-4dc5476fbeabba2adcbaa9c24d61172fbf022bea.zip |
Don't expose `Relation#preload_associations` in the doc
The extracted method is used for `CollectionCacheAssociationLoading`,
still not public API.
[ci skip]
-rw-r--r-- | activerecord/lib/active_record/relation.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/relation.rb b/activerecord/lib/active_record/relation.rb index 3c66d2f8be..24b9bab0cd 100644 --- a/activerecord/lib/active_record/relation.rb +++ b/activerecord/lib/active_record/relation.rb @@ -557,7 +557,7 @@ module ActiveRecord ActiveRecord::Associations::AliasTracker.create(connection, table.name, joins) end - def preload_associations(records) + def preload_associations(records) # :nodoc: preload = preload_values preload += includes_values unless eager_loading? preloader = nil |