1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# development
config.cache_classes = false
config.whiny_nils = true
config.consider_all_requests_local       = true
config.action_view.debug_rjs             = true
config.action_controller.perform_caching = false
config.action_mailer.raise_delivery_errors = false
config.action_mailer.default_url_options = { :host => 'localhost:3000' }
config.active_support.deprecation = :log
config.i18n.fallbacks = true
config.action_dispatch.best_standards_support = :builtin
ActiveMerchant::Billing::Base.mode = :test

# production
config.cache_classes = true
config.consider_all_requests_local       = false
config.action_controller.perform_caching = true
config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect'
config.serve_static_assets = false
config.action_mailer.default_url_options = { :host => 'domain.com' }
config.i18n.fallbacks = true
config.active_support.deprecation = :notify