]> git.openstreetmap.org Git - rails.git/blob - config/initializers/query_cache.rb
Merge branch 'openID' of git://git.openstreetmap.org/rails into openid
[rails.git] / config / initializers / query_cache.rb
1 if defined?(ActiveRecord::ConnectionAdaptors::QueryCache)
2   module ActiveRecord
3     module ConnectionAdapters
4       module QueryCache
5         private
6           def cache_sql(sql)
7           yield
8           end
9       end
10     end
11   end
12 end