]> source.dussan.org Git - redmine.git/commitdiff
Replaces @config.cache_classes@ which the new option @config.enable_reloading@ intro...
authorMarius Balteanu <marius.balteanu@zitec.com>
Tue, 12 Dec 2023 17:56:00 +0000 (17:56 +0000)
committerMarius Balteanu <marius.balteanu@zitec.com>
Tue, 12 Dec 2023 17:56:00 +0000 (17:56 +0000)
git-svn-id: https://svn.redmine.org/redmine/trunk@22518 e93f8b46-1217-0410-a6f0-8f06a7374b81

config/environments/development.rb
config/environments/production.rb
config/environments/test.rb

index 5b345a01a134f40e822a10578052b64dc857948f..5b3ff43dc3dc459bf02352ec471ab521c85171e9 100644 (file)
@@ -8,7 +8,7 @@ Rails.application.configure do
   # In the development environment your application's code is reloaded any time
   # it changes. This slows down response time but is perfect for development
   # since you don't have to restart the web server when you make code changes.
-  config.cache_classes = false
+  config.enable_reloading = true
 
   # Do not eager load code on boot.
   config.eager_load = false
index a956e65c1a575a2790b328eed1859c7e88743132..edbffba9ef2606808f41cfed0b2b05c61f2cb636 100644 (file)
@@ -6,7 +6,7 @@ Rails.application.configure do
   # Settings specified here will take precedence over those in config/application.rb.
 
   # Code is not reloaded between requests.
-  config.cache_classes = true
+  config.enable_reloading = false
 
   # Eager load code on boot. This eager loads most of Rails and
   # your application in memory, allowing both threaded web servers
index 199f1bb2736c04004d7a6056a4f867ac7596bea5..2e7b238135b7969ccc18d03106a7824b55766b14 100644 (file)
@@ -10,7 +10,7 @@ require 'active_support/core_ext/integer/time'
 Rails.application.configure do
   # Settings specified here will take precedence over those in config/application.rb.
 
-  config.cache_classes = true
+  config.enable_reloading = false
   # config.action_view.cache_template_loading = true
 
   # Do not eager load code on boot. This avoids loading your whole application