diff options
author | Emilio Tagua <miloops@gmail.com> | 2009-10-05 15:25:06 -0300 |
---|---|---|
committer | Emilio Tagua <miloops@gmail.com> | 2009-10-05 15:25:06 -0300 |
commit | 1daceeb838dccfd47547dedea67eb22e7c06c5a9 (patch) | |
tree | 506ad932a341befbbea1d4ea719d992ef22f3512 /activerecord/test/cases/associations | |
parent | 9a71b6d29d013d8ee3f0d3f408d53e1cf3c9f799 (diff) | |
parent | 65f055a3ed790d41aeca8d4ca7f3771b05cf544f (diff) | |
download | rails-1daceeb838dccfd47547dedea67eb22e7c06c5a9.tar.gz rails-1daceeb838dccfd47547dedea67eb22e7c06c5a9.tar.bz2 rails-1daceeb838dccfd47547dedea67eb22e7c06c5a9.zip |
Merge branch 'associations_2'
Diffstat (limited to 'activerecord/test/cases/associations')
-rw-r--r-- | activerecord/test/cases/associations/cascaded_eager_loading_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/associations/cascaded_eager_loading_test.rb b/activerecord/test/cases/associations/cascaded_eager_loading_test.rb index 45e74ea024..ed2e2e9f8f 100644 --- a/activerecord/test/cases/associations/cascaded_eager_loading_test.rb +++ b/activerecord/test/cases/associations/cascaded_eager_loading_test.rb @@ -104,7 +104,7 @@ class CascadedEagerLoadingTest < ActiveRecord::TestCase authors.first.posts.first.special_comments.first.post.very_special_comment end end - + def test_eager_association_loading_where_first_level_returns_nil authors = Author.find(:all, :include => {:post_about_thinking => :comments}, :order => 'authors.id DESC') assert_equal [authors(:mary), authors(:david)], authors |