From 48c7ad17b0e87d315b68c0075046fd29e8802e93 Mon Sep 17 00:00:00 2001 From: Santiago Pastorino Date: Fri, 13 Aug 2010 21:18:36 -0300 Subject: This method is actually not used, it's implemented on the concrete adapters [#5331 state:committed] --- .../lib/active_record/connection_adapters/abstract/query_cache.rb | 8 -------- 1 file changed, 8 deletions(-) (limited to 'activerecord/lib') diff --git a/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb b/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb index 78fffaff6e..0ee61d0b6f 100644 --- a/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb +++ b/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb @@ -57,14 +57,6 @@ module ActiveRecord end end - def columns(*) - if @query_cache_enabled - @query_cache["SHOW FIELDS FROM #{args.first}"] ||= super - else - super - end - end - private def cache_sql(sql) result = -- cgit v1.2.3