method
enable_query_cache!
v7.0.0 -
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 35
def enable_query_cache!
@query_cache_enabled[connection_cache_key(current_thread)] = true
connection.enable_query_cache! if active_connection?
end