Disable collection cache versioning

This was a new default setting introduced by Rails 6.0
This commit is contained in:
Karl Erik Õunapuu 2020-07-07 15:04:22 +03:00
parent b0d5605712
commit 52041c52b6

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