Setting eager loading on each env configuration

This commit is contained in:
luisramos0
2019-03-21 17:05:33 +00:00
committed by Luis Ramos
parent 8dbe4accaf
commit 8e747e54a0
3 changed files with 5 additions and 2 deletions

View File

@@ -9,8 +9,7 @@ Openfoodnetwork::Application.configure do
# :file_store is used by default when no cache store is specifically configured.
# config.cache_store = :file_store
# Log error messages when you accidentally call methods on nil.
config.whiny_nils = true
config.eager_load = false
# Show full error reports and disable caching
config.consider_all_requests_local = true

View File

@@ -1,6 +1,8 @@
Openfoodnetwork::Application.configure do
# Settings specified here will take precedence over those in config/application.rb
config.eager_load = false
# Code is not reloaded between requests
config.cache_classes = true

View File

@@ -1,6 +1,8 @@
Openfoodnetwork::Application.configure do
# Settings specified here will take precedence over those in config/application.rb
config.eager_load = false
# Code is not reloaded between requests
config.cache_classes = true