@@ -1,22 +1,27 | |||||
1 | # Settings specified here will take precedence over those in config/environment.rb |
|
1 | # Settings specified here will take precedence over those in config/environment.rb | |
2 |
|
2 | |||
3 | # The production environment is meant for finished, "live" apps. |
|
3 | # The production environment is meant for finished, "live" apps. | |
4 | # Code is not reloaded between requests |
|
4 | # Code is not reloaded between requests | |
5 | config.cache_classes = true |
|
5 | config.cache_classes = true | |
6 |
|
6 | |||
|
7 | ##### | |||
|
8 | # Customize the default logger (http://ruby-doc.org/core/classes/Logger.html) | |||
|
9 | # | |||
7 | # Use a different logger for distributed setups |
|
10 | # Use a different logger for distributed setups | |
8 | # config.logger = SyslogLogger.new |
|
11 | # config.logger = SyslogLogger.new | |
9 |
|
12 | # | ||
|
13 | # Rotate logs bigger than 1MB, keeps no more than 7 rotated logs around. | |||
|
14 | # config.logger = Logger.new(config.log_path, 7, 1048576) | |||
10 |
|
15 | |||
11 | # Full error reports are disabled and caching is turned on |
|
16 | # Full error reports are disabled and caching is turned on | |
12 | config.action_controller.consider_all_requests_local = false |
|
17 | config.action_controller.consider_all_requests_local = false | |
13 | config.action_controller.perform_caching = true |
|
18 | config.action_controller.perform_caching = true | |
14 |
|
19 | |||
15 | # Enable serving of images, stylesheets, and javascripts from an asset server |
|
20 | # Enable serving of images, stylesheets, and javascripts from an asset server | |
16 | # config.action_controller.asset_host = "http://assets.example.com" |
|
21 | # config.action_controller.asset_host = "http://assets.example.com" | |
17 |
|
22 | |||
18 | # Disable delivery errors if you bad email addresses should just be ignored |
|
23 | # Disable delivery errors if you bad email addresses should just be ignored | |
19 | config.action_mailer.raise_delivery_errors = false |
|
24 | config.action_mailer.raise_delivery_errors = false | |
20 |
|
25 | |||
21 | # No email in production log |
|
26 | # No email in production log | |
22 | config.action_mailer.logger = nil |
|
27 | config.action_mailer.logger = nil |
General Comments 0
You need to be logged in to leave comments.
Login now