From b2cf62e04a5d240a18d3941aacc3170e7ec9fa48 Mon Sep 17 00:00:00 2001 From: Tomasz Subik Date: Wed, 28 Feb 2024 11:37:50 +0100 Subject: [PATCH] fix env configs --- config/environments/e2e.rb | 4 ++-- config/environments/production.rb | 4 ++-- config/environments/staging.rb | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/config/environments/e2e.rb b/config/environments/e2e.rb index aaa34d9b9..f5a7310c6 100644 --- a/config/environments/e2e.rb +++ b/config/environments/e2e.rb @@ -6,13 +6,13 @@ # 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 # and those relying on copy on write to perform better. # Rake tasks automatically ignore this option for performance. - config.enable_reloading = false + config.eager_load = true # Full error reports are disabled and caching is turned on. config.consider_all_requests_local = false diff --git a/config/environments/production.rb b/config/environments/production.rb index ca3623fd0..eabbe94f3 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -6,13 +6,13 @@ # 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 # and those relying on copy on write to perform better. # Rake tasks automatically ignore this option for performance. - config.enable_reloading = false + config.eager_load = true # Full error reports are disabled and caching is turned on. config.consider_all_requests_local = false diff --git a/config/environments/staging.rb b/config/environments/staging.rb index 7b5acbb7b..0d431d50a 100644 --- a/config/environments/staging.rb +++ b/config/environments/staging.rb @@ -6,13 +6,13 @@ # 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 # and those relying on copy on write to perform better. # Rake tasks automatically ignore this option for performance. - config.enable_reloading = false + config.eager_load = true # Full error reports are disabled and caching is turned on. config.consider_all_requests_local = false