class method
self.collection_cache_versioning
Ruby on Rails 7.2.3
Since v6.0.6Indicates whether to use a stable #cache_key method that is accompanied by a changing version in the #cache_version method on collections.
This is false, by default until Rails 6.1.
Source
# File activerecord/lib/active_record/integration.rb, line 32
class_attribute :collection_cache_versioning, instance_writer: false, default: false
Defined in activerecord/lib/active_record/integration.rb line 32
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::Integration