From 969779a60dde3b529b01543c7055f91cc4d276e7 Mon Sep 17 00:00:00 2001 From: Jesse Kriss Date: Thu, 16 Sep 2010 09:19:56 +0800 Subject: [PATCH] adding deprecation setting --- config/environments/production.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config/environments/production.rb b/config/environments/production.rb index 11d42d349..1267a96a3 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -16,6 +16,8 @@ Diaspora::Application.configure do # Specifies the header that your server uses for sending files config.action_dispatch.x_sendfile_header = "X-Sendfile" + + config.active_support.deprecation = :notify # For nginx: # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect'