Merge pull request #1637 from internetee/disable-collection_cache_versioning

Disable collection cache versioning
This commit is contained in:
Timo Võhmar 2020-07-07 15:59:36 +03:00 committed by GitHub
commit 0b22d13043
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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
# `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.
Rails.application.config.active_record.collection_cache_versioning = true
Rails.application.config.active_record.collection_cache_versioning = false