aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/associations/eager_load_nested_include_test.rb
diff options
context:
space:
mode:
authorJon Leighton <j@jonathanleighton.com>2011-12-29 14:26:38 +0000
committerJon Leighton <j@jonathanleighton.com>2011-12-29 14:27:33 +0000
commitc99d507fccca2e9e4d12e49b4387e007c5481ae9 (patch)
tree269b10745091c0c0e3941ab756cec0130cbc11bd /activerecord/test/cases/associations/eager_load_nested_include_test.rb
parent0b8b68209ded58e40cc18f3fef2f2c38e3730bb8 (diff)
downloadrails-c99d507fccca2e9e4d12e49b4387e007c5481ae9.tar.gz
rails-c99d507fccca2e9e4d12e49b4387e007c5481ae9.tar.bz2
rails-c99d507fccca2e9e4d12e49b4387e007c5481ae9.zip
Deprecate implicit eager loading. Closes #950.
Diffstat (limited to 'activerecord/test/cases/associations/eager_load_nested_include_test.rb')
-rw-r--r--activerecord/test/cases/associations/eager_load_nested_include_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/associations/eager_load_nested_include_test.rb b/activerecord/test/cases/associations/eager_load_nested_include_test.rb
index 1e1958410c..0964124a81 100644
--- a/activerecord/test/cases/associations/eager_load_nested_include_test.rb
+++ b/activerecord/test/cases/associations/eager_load_nested_include_test.rb
@@ -123,7 +123,7 @@ class EagerLoadNestedIncludeWithMissingDataTest < ActiveRecord::TestCase
assert_nothing_raised do
# @davey_mcdave doesn't have any author_favorites
includes = {:posts => :comments, :categorizations => :category, :author_favorites => :favorite_author }
- Author.all :include => includes, :conditions => {:authors => {:name => @davey_mcdave.name}}, :order => 'categories.name'
+ Author.all :eager_load => includes, :conditions => {:authors => {:name => @davey_mcdave.name}}, :order => 'categories.name'
end
end
end