production.rb
30 lines
| 1.1 KiB
| text/x-ruby
|
RubyLexer
|
r2 | # Settings specified here will take precedence over those in config/environment.rb | ||
# The production environment is meant for finished, "live" apps. | ||||
# Code is not reloaded between requests | ||||
config.cache_classes = true | ||||
|
r3982 | ##### | ||
# Customize the default logger (http://ruby-doc.org/core/classes/Logger.html) | ||||
# | ||||
|
r2 | # Use a different logger for distributed setups | ||
# config.logger = SyslogLogger.new | ||||
|
r3982 | # | ||
# Rotate logs bigger than 1MB, keeps no more than 7 rotated logs around. | ||||
|
r4068 | # When setting a new Logger, make sure to set it's log level too. | ||
# | ||||
|
r3982 | # config.logger = Logger.new(config.log_path, 7, 1048576) | ||
|
r4068 | # config.logger.level = Logger::INFO | ||
|
r2 | |||
# Full error reports are disabled and caching is turned on | ||||
config.action_controller.consider_all_requests_local = false | ||||
config.action_controller.perform_caching = true | ||||
# Enable serving of images, stylesheets, and javascripts from an asset server | ||||
# config.action_controller.asset_host = "http://assets.example.com" | ||||
|
r761 | |||
|
r2 | # Disable delivery errors if you bad email addresses should just be ignored | ||
config.action_mailer.raise_delivery_errors = false | ||||
|
r543 | |||
# No email in production log | ||||
|
r761 | config.action_mailer.logger = nil | ||