Method: ActiveRecord::QueryCache.complete

Defined in:
activerecord/lib/active_record/query_cache.rb

.complete(pools) ⇒ Object



44
45
46
47
48
49
# File 'activerecord/lib/active_record/query_cache.rb', line 44

def self.complete(pools)
  pools.each do |pool|
    pool.disable_query_cache!
    pool.clear_query_cache
  end
end