aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2005-05-21 18:23:35 +0000
committerDavid Heinemeier Hansson <david@loudthinking.com>2005-05-21 18:23:35 +0000
commit3022ee84ccb4d006f4b27e34b7fcf700aad660c8 (patch)
treeb82a46b0e6b6287f1262a383f21708e2ce228ac3
parenta1e9ceebd59e9ac6b932f7ed5d35fe44eee6b93f (diff)
downloadrails-3022ee84ccb4d006f4b27e34b7fcf700aad660c8.tar.gz
rails-3022ee84ccb4d006f4b27e34b7fcf700aad660c8.tar.bz2
rails-3022ee84ccb4d006f4b27e34b7fcf700aad660c8.zip
Added note of limitation for #1279
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1347 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
-rwxr-xr-xactiverecord/lib/active_record/associations.rb3
1 files changed, 2 insertions, 1 deletions
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
#