From c5c0ace39c32a7ec775249d425bf2e83c7614bc7 Mon Sep 17 00:00:00 2001 From: Aditya Kapoor Date: Tue, 23 Jun 2015 19:02:39 +0530 Subject: [ci skip] correct for ActiveRecord::Associations::Preloader: --- activerecord/lib/active_record/associations/preloader.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'activerecord/lib/active_record/associations') 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 -- cgit v1.2.3