instance method query_cache_enabled

Ruby on Rails 8.1.2

Since v7.2.3

Available in: v7.2.3 v8.0.4 v8.1.2

Signature

query_cache_enabled()

No documentation comment.

Source
# File activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb, line 228
      def query_cache_enabled
        query_cache&.enabled?
      end

Defined in activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb line 228 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActiveRecord::ConnectionAdapters::QueryCache

Type at least 2 characters to search.

↑↓ navigate · open · esc close