eagerload development

This commit is contained in:
2019-03-11 20:48:29 +01:00
parent f809f36c06
commit 00c8045742

View File

@@ -8,6 +8,7 @@ Fetsite::Application.configure do
# since you don't have to restart the web server when you make code changes.
config.cache_classes = false
config.eager_load = false
# Log error messages when you accidentally call methods on nil.
config.whiny_nils = true
@@ -30,7 +31,7 @@ Fetsite::Application.configure do
# Log the query plan for queries taking more than this (works
# with SQLite, MySQL, and PostgreSQL)
config.active_record.auto_explain_threshold_in_seconds = 0.5
# config.active_record.auto_explain_threshold_in_seconds = 0.5
# Do not compress assets
config.assets.compress = false