aboutsummaryrefslogtreecommitdiffstats
path: root/config/environments/development.rb
diff options
context:
space:
mode:
authorLouise Crow <louise.crow@gmail.com>2012-11-12 15:06:46 +0000
committerLouise Crow <louise.crow@gmail.com>2012-11-12 15:06:46 +0000
commita1ca0f9123a3aea843ba35508a97d5a4fd5cb0db (patch)
treeb9d3c1390f6b9c8b201e47507f26829b239f2773 /config/environments/development.rb
parent8271b2c664f04d1b68a8b4d4fdb801f5c6b00b8c (diff)
parentc96b27c301023a6a1f50c12f0c387205b0255836 (diff)
Merge remote-tracking branch 'origin/release/0.6.8'0.6.8
Conflicts: locale/cs/app.po locale/sl/app.po locale/sq/app.po locale/tr/app.po locale/uk/app.po
Diffstat (limited to 'config/environments/development.rb')
-rw-r--r--config/environments/development.rb9
1 files changed, 6 insertions, 3 deletions
diff --git a/config/environments/development.rb b/config/environments/development.rb
index f21f27ab6..c43cdb049 100644
--- a/config/environments/development.rb
+++ b/config/environments/development.rb
@@ -12,13 +12,16 @@ config.whiny_nils = true
# Show full error reports and disable caching
config.action_controller.consider_all_requests_local = true
-config.action_controller.perform_caching = true
+config.action_controller.perform_caching = false
config.action_view.debug_rjs = true
# Don't care if the mailer can't send
config.action_mailer.raise_delivery_errors = false
-config.action_mailer.perform_deliveries = false
-config.action_mailer.delivery_method = :sendmail # so is queued, rather than giving immediate errors
+config.action_mailer.perform_deliveries = true
+# Use mailcatcher in development
+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.