1
0
mirror of https://github.com/meineerde/redmine.git synced 2026-02-01 03:57:15 +00:00

Replaces @config.cache_classes@ which the new option @config.enable_reloading@ introduced in Rails 7.1 (#36320)

git-svn-id: https://svn.redmine.org/redmine/trunk@22518 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Marius Balteanu 2023-12-12 17:56:00 +00:00
parent c38e847fa6
commit a6e754ecce
3 changed files with 3 additions and 3 deletions

View 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

View 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

View 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