diff options
author | Aditya Kapoor <adityakapoor.mait@gmail.com> | 2015-06-23 19:02:39 +0530 |
---|---|---|
committer | Aditya Kapoor <adityakapoor.mait@gmail.com> | 2015-06-23 19:02:39 +0530 |
commit | c5c0ace39c32a7ec775249d425bf2e83c7614bc7 (patch) | |
tree | df48744f592e992e13fd7290762577461dd85fb8 /activerecord/lib/active_record/associations | |
parent | 5e75f51692cc92ad346fecc4a63fa628c8024149 (diff) | |
download | rails-c5c0ace39c32a7ec775249d425bf2e83c7614bc7.tar.gz rails-c5c0ace39c32a7ec775249d425bf2e83c7614bc7.tar.bz2 rails-c5c0ace39c32a7ec775249d425bf2e83c7614bc7.zip |
[ci skip] correct for ActiveRecord::Associations::Preloader:
Diffstat (limited to 'activerecord/lib/active_record/associations')
-rw-r--r-- | activerecord/lib/active_record/associations/preloader.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/associations/preloader.rb b/activerecord/lib/active_record/associations/preloader.rb index 97f4bd3811..7df93caebd 100644 --- a/activerecord/lib/active_record/associations/preloader.rb +++ b/activerecord/lib/active_record/associations/preloader.rb @@ -10,7 +10,8 @@ module ActiveRecord # end # # class Book < ActiveRecord::Base - # # columns: title, sales + # # columns: title, sales, :author_id + # belongs_to :author # end # # When you load an author with all associated books Active Record will make |