annotate config/environments/production.rb @ 1452:d6b9fd02bb89 feature_36_js_refactoring

Deprecated develoment branch.
author luisf <luis.figueira@eecs.qmul.ac.uk>
date Fri, 11 Oct 2013 17:01:24 +0100
parents 94944d00e43c
children 433d4f72a19b
rev   line source
Chris@0 1 # Settings specified here will take precedence over those in config/environment.rb
Chris@0 2
Chris@0 3 # The production environment is meant for finished, "live" apps.
Chris@0 4 # Code is not reloaded between requests
Chris@0 5 config.cache_classes = true
Chris@0 6
chris@22 7 #####
chris@22 8 # Customize the default logger (http://ruby-doc.org/core/classes/Logger.html)
chris@22 9 #
Chris@0 10 # Use a different logger for distributed setups
Chris@0 11 # config.logger = SyslogLogger.new
chris@22 12 #
chris@22 13 # Rotate logs bigger than 1MB, keeps no more than 7 rotated logs around.
chris@37 14 # When setting a new Logger, make sure to set it's log level too.
chris@37 15 #
chris@22 16 # config.logger = Logger.new(config.log_path, 7, 1048576)
chris@37 17 # config.logger.level = Logger::INFO
Chris@0 18
Chris@0 19 # Full error reports are disabled and caching is turned on
Chris@0 20 config.action_controller.consider_all_requests_local = false
Chris@0 21 config.action_controller.perform_caching = true
Chris@0 22
Chris@0 23 # Enable serving of images, stylesheets, and javascripts from an asset server
Chris@0 24 # config.action_controller.asset_host = "http://assets.example.com"
Chris@0 25
Chris@0 26 # Disable delivery errors if you bad email addresses should just be ignored
Chris@0 27 config.action_mailer.raise_delivery_errors = false
Chris@0 28
Chris@0 29 # No email in production log
Chris@0 30 config.action_mailer.logger = nil