From 3022ee84ccb4d006f4b27e34b7fcf700aad660c8 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Sat, 21 May 2005 18:23:35 +0000 Subject: Added note of limitation for #1279 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1347 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- activerecord/lib/active_record/associations.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/activerecord/lib/active_record/associations.rb b/activerecord/lib/active_record/associations.rb index d0dde54015..53a7ea7f11 100755 --- a/activerecord/lib/active_record/associations.rb +++ b/activerecord/lib/active_record/associations.rb @@ -150,7 +150,8 @@ module ActiveRecord # in both conditions and orders. So :order => "posts.id DESC" will work while :order => "id DESC" will not. This may require that # you alter the :order and :conditions on the association definitions themselves. # - # It's currently not possible to use eager loading on multiple associations from the same table. + # It's currently not possible to use eager loading on multiple associations from the same table. Eager loading will also not pull + # additional attributes on join tables, so "rich associations" with has_and_belongs_to_many is not a good fit for eager loading. # # == Modules # -- cgit v1.2.3