aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record
diff options
context:
space:
mode:
authorSantiago Pastorino <santiago@wyeworks.com>2010-08-13 21:18:36 -0300
committerSantiago Pastorino <santiago@wyeworks.com>2010-08-13 21:19:47 -0300
commit27fb88aa22d7887138ec02f34eeb01f78043642d (patch)
treed1e90542f7e7d5cb5738791655c14048d21edae7 /activerecord/lib/active_record
parentbe5d1608cb57f86c53ee229f40f52aa8ffc2d86f (diff)
downloadrails-27fb88aa22d7887138ec02f34eeb01f78043642d.tar.gz
rails-27fb88aa22d7887138ec02f34eeb01f78043642d.tar.bz2
rails-27fb88aa22d7887138ec02f34eeb01f78043642d.zip
This method is actually not used, it's implemented on the concrete adapters
[#5331 state:committed]
Diffstat (limited to 'activerecord/lib/active_record')
-rw-r--r--activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb8
1 files changed, 0 insertions, 8 deletions
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 =