开发环境下去掉缓存

This commit is contained in:
lizanle 2015-01-23 09:49:07 +08:00
parent 27fde6c641
commit d2d1a9659b
1 changed files with 3 additions and 3 deletions

View File

@ -7,11 +7,11 @@ RedmineApp::Application.configure do
# Log error messages when you accidentally call methods on nil.
config.whiny_nils = true
config.logger = Logger.new('log/development.log', 'daily') # daily, weekly or monthly
# Show full error reports and disable caching
config.consider_all_requests_local = true
config.action_controller.perform_caching = true
config.cache_store = :file_store, "#{Rails.root }/public/tmp/"
#config.action_controller.perform_caching = true
#config.cache_store = :file_store, "#{Rails.root }/public/tmp/"
# Don't care if the mailer can't send
config.action_mailer.raise_delivery_errors = false