diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2011-02-07 09:25:57 -0800 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2011-02-07 09:26:52 -0800 |
commit | 0de661d6c74172a9fedcced6a4e99d007df953ef (patch) | |
tree | 3644bd0f1acab9e6972c66f371ee309e30e841df /activerecord/test/cases | |
parent | 285fdbae2bafd5de415a685b57af36254197348c (diff) | |
download | rails-0de661d6c74172a9fedcced6a4e99d007df953ef.tar.gz rails-0de661d6c74172a9fedcced6a4e99d007df953ef.tar.bz2 rails-0de661d6c74172a9fedcced6a4e99d007df953ef.zip |
the connection pool caches table_exists? calls
Diffstat (limited to 'activerecord/test/cases')
-rw-r--r-- | activerecord/test/cases/associations/eager_test.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/activerecord/test/cases/associations/eager_test.rb b/activerecord/test/cases/associations/eager_test.rb index e11f1009dc..3074648d59 100644 --- a/activerecord/test/cases/associations/eager_test.rb +++ b/activerecord/test/cases/associations/eager_test.rb @@ -851,6 +851,8 @@ class EagerAssociationTest < ActiveRecord::TestCase end def test_eager_loading_with_conditions_on_join_model_preloads + Author.columns + authors = assert_queries(2) do Author.find(:all, :include => :author_address, :joins => :comments, :conditions => "posts.title like 'Welcome%'") end |