annotate config/environments/production.rb @ 36:de76cd3e8c8e
cc-branches
* Probably abortive experiments in extracting the branch from Hg
author |
Chris Cannam <chris.cannam@soundsoftware.ac.uk> |
date |
Wed, 20 Oct 2010 10:07:29 +0100 |
parents |
40f7cfd4df19 |
children |
94944d00e43c |
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@22
|
14 # config.logger = Logger.new(config.log_path, 7, 1048576)
|
Chris@0
|
15
|
Chris@0
|
16 # Full error reports are disabled and caching is turned on
|
Chris@0
|
17 config.action_controller.consider_all_requests_local = false
|
Chris@0
|
18 config.action_controller.perform_caching = true
|
Chris@0
|
19
|
Chris@0
|
20 # Enable serving of images, stylesheets, and javascripts from an asset server
|
Chris@0
|
21 # config.action_controller.asset_host = "http://assets.example.com"
|
Chris@0
|
22
|
Chris@0
|
23 # Disable delivery errors if you bad email addresses should just be ignored
|
Chris@0
|
24 config.action_mailer.raise_delivery_errors = false
|
Chris@0
|
25
|
Chris@0
|
26 # No email in production log
|
Chris@0
|
27 config.action_mailer.logger = nil
|