From ad6d861076eaf98b6875cdba427fffa7847c32a2 Mon Sep 17 00:00:00 2001 From: Rabbit Date: Fri, 22 Dec 2023 10:49:21 +0800 Subject: [PATCH] fix: close cache version --- config/application.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config/application.rb b/config/application.rb index 9b785675c0..889db51c9d 100644 --- a/config/application.rb +++ b/config/application.rb @@ -38,5 +38,7 @@ class Application < Rails::Application config.generators do |g| g.fixture_replacement :factory_bot, dir: "test/factories" end + config.active_record.collection_cache_versioning = false + config.active_record.cache_versioning = false end end