From 8787eed863e196ff69bfb612d998b38e2642858e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Rodr=C3=ADguez?= <2887858+deivid-rodriguez@users.noreply.github.com> Date: Tue, 14 Oct 2025 08:03:15 +0200 Subject: [PATCH] The PROFILE env variable should actually enable, not disable, caching I think this may be a typo from 6d8ddd1edac17a431222c86482bceb83e8a7d32f? --- config/environments/development.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/environments/development.rb b/config/environments/development.rb index c3b67c6bb1..600d08d2f7 100644 --- a/config/environments/development.rb +++ b/config/environments/development.rb @@ -31,7 +31,7 @@ Rails.application.configure do # Enable/disable caching. By default caching is disabled. # Run rails dev:cache to toggle caching. - if Rails.root.join("tmp/caching-dev.txt").exist? || !ENV["PROFILE"] || !!ENV["DEV_CACHING"] + if Rails.root.join("tmp/caching-dev.txt").exist? || !!ENV["PROFILE"] || !!ENV["DEV_CACHING"] config.action_controller.perform_caching = true config.action_controller.enable_fragment_cache_logging = true