Flowdock
method

run

Importance_0
v5.1.7 - Show latest stable - 0 notes - Class: ActiveRecord::QueryCache
run() public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/active_record/query_cache.rb, line 26
    def self.run
      caching_pool = ActiveRecord::Base.connection_pool
      caching_was_enabled = caching_pool.query_cache_enabled

      caching_pool.enable_query_cache!

      [caching_pool, caching_was_enabled]
    end
Register or log in to add new notes.