diff options
author | Henare Degan <henare.degan@gmail.com> | 2012-12-10 16:12:57 +1100 |
---|---|---|
committer | Henare Degan <henare.degan@gmail.com> | 2012-12-11 11:09:40 +1100 |
commit | d8605d098c0d8517c1a1df39738f0fea0f6aa8db (patch) | |
tree | 98be3bcd593c518cfeab9910ad0e87c008bdaa56 /config/environments/production.rb | |
parent | 9d0295f1ebb1b8019c59ee48f86668a0e55b39ec (diff) |
Add some new Rails 3 settings and tidy up environments files
Diffstat (limited to 'config/environments/production.rb')
-rw-r--r-- | config/environments/production.rb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/config/environments/production.rb b/config/environments/production.rb index 0bb0db71a..ac4a2ccb6 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -9,8 +9,8 @@ Alaveteli::Application.configure do # config.logger = SyslogLogger.new # Full error reports are disabled and caching is turned on - config.action_controller.consider_all_requests_local = false - config.action_controller.perform_caching = true + config.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" @@ -18,4 +18,6 @@ Alaveteli::Application.configure do # Disable delivery errors, bad email addresses will be ignored # config.action_mailer.raise_delivery_errors = false config.action_mailer.delivery_method = :sendmail # so is queued, rather than giving immediate errors + + config.active_support.deprecation = :notify end |