From fbf8d08dcc0045ab436dbd9e82d2715e1ba902a4 Mon Sep 17 00:00:00 2001 From: elijah Date: Wed, 13 Feb 2013 01:31:01 -0800 Subject: disable template caching --- config/environments/production.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config/environments/production.rb b/config/environments/production.rb index 815463c..4d263f2 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -4,6 +4,9 @@ LeapPublicSite::Application.configure do # Code is not reloaded between requests config.cache_classes = true + # IMPORTANT: this must be false if you want to be able to edit pages without restarting rails + config.action_view.cache_template_loading = false + # Full error reports are disabled and caching is turned on config.consider_all_requests_local = false config.action_controller.perform_caching = true -- cgit v1.2.3