enhance staging mode in order to show errors and web_console

This commit is contained in:
Ralf Teusner
2016-11-24 14:46:18 +01:00
parent 442b405927
commit 66de024195
2 changed files with 8 additions and 5 deletions

View File

@ -10,9 +10,12 @@ Rails.application.configure do
# Rake tasks automatically ignore this option for performance.
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
#enable web console in staging
config.web_console.development_only = false
# Show full error reports and disable caching.
config.consider_all_requests_local = true
config.action_controller.perform_caching = false
# Enable Rack::Cache to put a simple HTTP cache in front of your application
# Add `rack-cache` to your Gemfile before enabling this.