aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib
diff options
context:
space:
mode:
authorschneems <richard.schneeman@gmail.com>2015-10-26 14:20:01 -0500
committerschneems <richard.schneeman@gmail.com>2015-10-26 18:07:34 -0500
commit3a6872c49a6d332f68342742482d810322020be2 (patch)
tree4cb2fc7cf7ac71561db9cff4300d75cb1d680c43 /activerecord/lib
parent118232aef4094ce0a1dfbb827b672509e7c33542 (diff)
downloadrails-3a6872c49a6d332f68342742482d810322020be2.tar.gz
rails-3a6872c49a6d332f68342742482d810322020be2.tar.bz2
rails-3a6872c49a6d332f68342742482d810322020be2.zip
[ci skip] Add doc to preloaders_on
Diffstat (limited to 'activerecord/lib')
-rw-r--r--activerecord/lib/active_record/associations/preloader.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/activerecord/lib/active_record/associations/preloader.rb b/activerecord/lib/active_record/associations/preloader.rb
index 7ac99bc5c6..c5387eb996 100644
--- a/activerecord/lib/active_record/associations/preloader.rb
+++ b/activerecord/lib/active_record/associations/preloader.rb
@@ -106,6 +106,7 @@ module ActiveRecord
private
+ # Loads all the given data into +records+ for the +association+.
def preloaders_on(association, records, scope)
case association
when Hash