From 4564ecb3d0f4cb1ba8edcc1cf020dbcff72f2d9b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20Coutable?= Date: Mon, 4 Feb 2019 17:54:45 +0100 Subject: Enable eager-loading in development and test MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Rémy Coutable --- config/environments/development.rb | 2 +- config/environments/test.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config/environments/development.rb b/config/environments/development.rb index 494ddd72556..bf0b4dc7e0c 100644 --- a/config/environments/development.rb +++ b/config/environments/development.rb @@ -41,7 +41,7 @@ Rails.application.configure do config.action_mailer.perform_deliveries = (ENV['BOOTSTRAP'] != '1') config.action_mailer.preview_path = 'app/mailers/previews' - config.eager_load = false + config.eager_load = true # Do not log asset requests config.assets.quiet = true diff --git a/config/environments/test.rb b/config/environments/test.rb index 3461099253a..82017074d3c 100644 --- a/config/environments/test.rb +++ b/config/environments/test.rb @@ -40,7 +40,7 @@ Rails.application.configure do # Print deprecation notices to the stderr config.active_support.deprecation = :stderr - config.eager_load = false + config.eager_load = true config.cache_store = :null_store -- cgit v1.2.3