From 1d1769a0425d4c2c4f490473be6e6f0425c2d5ac Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Thu, 22 Nov 2012 15:39:19 +0100 Subject: [PATCH] Added config.dependency_loading. --- config/environments/production.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config/environments/production.rb b/config/environments/production.rb index 3f63b79e5..4ecfb86e5 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -64,4 +64,7 @@ Zammad::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 + + # autoload on + config.dependency_loading = true end