aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHenare Degan <henare.degan@gmail.com>2012-12-09 17:08:04 +1100
committerHenare Degan <henare.degan@gmail.com>2012-12-11 11:09:30 +1100
commit4fe5a017dfedc2949d8585d8c66cc808ed988e93 (patch)
treef23f1dd49ba3084d8da49e98e4c143d0703779d5
parent141353cd4d456d62d7fb42fe5c616e965dde4fef (diff)
Add new Rails 3 config
-rw-r--r--config/environments/development.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/config/environments/development.rb b/config/environments/development.rb
index b513216bd..db88e4a29 100644
--- a/config/environments/development.rb
+++ b/config/environments/development.rb
@@ -23,9 +23,11 @@ Alaveteli::Application.configure do
config.action_mailer.delivery_method = :smtp # so is queued, rather than giving immediate errors
config.action_mailer.smtp_settings = { :address => "localhost", :port => 1025 }
-
# Writes useful log files to debug memory leaks, of the sort where have
# unintentionally kept references to objects, especially strings.
# require 'memory_profiler'
# MemoryProfiler.start :string_debug => true, :delay => 10
+
+ # Print deprecation notices to the Rails logger
+ config.active_support.deprecation = :log
end