aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/environment.rb1
-rw-r--r--config/environments/development.rb4
2 files changed, 4 insertions, 1 deletions
diff --git a/config/environment.rb b/config/environment.rb
index 85e23e8a4..46eaa32b4 100644
--- a/config/environment.rb
+++ b/config/environment.rb
@@ -135,4 +135,3 @@ require 'activesupport_cache_extensions.rb'
# XXX temp debug for SQL logging production sites
#ActiveRecord::Base.logger = Logger.new(STDOUT)
-
diff --git a/config/environments/development.rb b/config/environments/development.rb
index 1cf3222b5..6f2531dfa 100644
--- a/config/environments/development.rb
+++ b/config/environments/development.rb
@@ -17,3 +17,7 @@ config.action_view.debug_rjs = true
config.action_mailer.raise_delivery_errors = false
config.action_mailer.delivery_method = :sendmail # so is queued, rather than giving immediate errors
+require 'memory_profiler'
+MemoryProfiler.start :string_debug => true, :delay => 10
+
+