production.rb
25 lines
| 879 B
| text/x-ruby
|
RubyLexer
|
r13100 | Rails.application.configure do | ||
# Settings specified here will take precedence over those in config/application.rb | ||||
# Code is not reloaded between requests. | ||||
|
r9346 | config.cache_classes = true | ||
|
r2 | |||
|
r13100 | # Eager load code on boot. This eager loads most of Rails and | ||
# your application in memory, allowing both threaded web servers | ||||
# and those relying on copy on write to perform better. | ||||
# Rake tasks automatically ignore this option for performance. | ||||
config.eager_load = true | ||||
|
r2 | |||
|
r13100 | # Full error reports are disabled and caching is turned on. | ||
config.consider_all_requests_local = false | ||||
|
r9346 | config.action_controller.perform_caching = true | ||
|
r2 | |||
|
r13100 | # Disable delivery errors | ||
|
r9346 | config.action_mailer.raise_delivery_errors = false | ||
|
r761 | |||
|
r9346 | # No email in production log | ||
config.action_mailer.logger = nil | ||||
|
r543 | |||
|
r13100 | # Print deprecation notices to the Rails logger. | ||
|
r9346 | config.active_support.deprecation = :log | ||
end | ||||