mirror of
https://github.com/internetee/registry.git
synced 2025-06-06 20:55:44 +02:00
Disable collection cache versioning
This was a new default setting introduced by Rails 6.0
This commit is contained in:
parent
b0d5605712
commit
52041c52b6
1 changed files with 1 additions and 1 deletions
|
@ -42,4 +42,4 @@ Rails.application.config.active_job.return_false_on_aborted_enqueue = true
|
||||||
# Enable the same cache key to be reused when the object being cached of type
|
# Enable the same cache key to be reused when the object being cached of type
|
||||||
# `ActiveRecord::Relation` changes by moving the volatile information (max updated at and count)
|
# `ActiveRecord::Relation` changes by moving the volatile information (max updated at and count)
|
||||||
# of the relation's cache key into the cache version to support recycling cache key.
|
# of the relation's cache key into the cache version to support recycling cache key.
|
||||||
Rails.application.config.active_record.collection_cache_versioning = true
|
Rails.application.config.active_record.collection_cache_versioning = false
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue