From 66f8b33111dff81d16dccaafec21cb19734191e7 Mon Sep 17 00:00:00 2001 From: Nathan Broadbent Date: Fri, 24 Feb 2012 11:51:45 +0800 Subject: [PATCH] Always show full error reports in production, since this is an internal application, and not for public users. --- config/environments/production.rb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/config/environments/production.rb b/config/environments/production.rb index ed70712..fbcb6a7 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -5,8 +5,9 @@ Errbit::Application.configure do # Code is not reloaded between requests config.cache_classes = true - # Full error reports are disabled and caching is turned on - config.consider_all_requests_local = false + # Full error reports are enabled, since this is an internal application. + config.consider_all_requests_local = true + # Caching is turned on config.action_controller.perform_caching = true # Specifies the header that your server uses for sending files -- libgit2 0.21.2