From 9d13c6b9315120df12bf1816cf5b4f71c5f7afaf Mon Sep 17 00:00:00 2001 From: Sam Date: Tue, 26 Nov 2013 15:16:56 +1100 Subject: [PATCH] we need this eager load thing --- config/environments/production.rb.sample | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config/environments/production.rb.sample b/config/environments/production.rb.sample index 8257958fa..4fcc4c58e 100644 --- a/config/environments/production.rb.sample +++ b/config/environments/production.rb.sample @@ -4,6 +4,8 @@ Discourse::Application.configure do # Code is not reloaded between requests config.cache_classes = true + config.eager_load = true + # Full error reports are disabled and caching is turned on config.consider_all_requests_local = false config.action_controller.perform_caching = true