]> git.openstreetmap.org Git - rails.git/blob - config/initializers/query_cache.rb
Don't show user navigation links for non-public users
[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