aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_select_manager.rb
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2011-02-07 09:26:18 -0800
committerAaron Patterson <aaron.patterson@gmail.com>2011-02-07 09:26:18 -0800
commit3cd905ee7b6ec8765cf9690b88ada5ae27fc3fd0 (patch)
tree0ada58ada98f9dd1ca43c8992924013cc33b7aaa /test/test_select_manager.rb
parent4d92a6b33476a5b324188bd86dfa5b5d3f4dcd3a (diff)
downloadrails-3cd905ee7b6ec8765cf9690b88ada5ae27fc3fd0.tar.gz
rails-3cd905ee7b6ec8765cf9690b88ada5ae27fc3fd0.tar.bz2
rails-3cd905ee7b6ec8765cf9690b88ada5ae27fc3fd0.zip
use the cache mechanism in the connection pool rather than our own cache
Diffstat (limited to 'test/test_select_manager.rb')
-rw-r--r--test/test_select_manager.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/test_select_manager.rb b/test/test_select_manager.rb
index 3ffdbe2e23..3b5ded8389 100644
--- a/test/test_select_manager.rb
+++ b/test/test_select_manager.rb
@@ -30,6 +30,10 @@ module Arel
@engine.connection.columns table, message
end
+ def columns_hash
+ @engine.connection.columns_hash
+ end
+
def table_exists? name
@engine.connection.table_exists? name
end