method
enable_query_cache!
v5.2.3 -
Show latest stable
- Class:
ActiveRecord::ConnectionAdapters::QueryCache::ConnectionPoolConfiguration
enable_query_cache!()public
No documentation available.
# File activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb, line 34
def enable_query_cache!
@query_cache_enabled[connection_cache_key(Thread.current)] = true
connection.enable_query_cache! if active_connection?
end