aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSeb Bacon <seb.bacon@gmail.com>2012-05-25 13:07:06 +0100
committerSeb Bacon <seb.bacon@gmail.com>2012-05-25 13:07:06 +0100
commit6e31257065dca23b60eb6e129d61434d75fda149 (patch)
treeb2aa1710e1623b312115386e969b6534841b03a3
parent8a4a8feb9cfe0a77195943124112f0d284a7f9cd (diff)
Don't send emails in development; output them to the console instead.
-rw-r--r--config/environments/development.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/environments/development.rb b/config/environments/development.rb
index a1e8133a8..cfb727695 100644
--- a/config/environments/development.rb
+++ b/config/environments/development.rb
@@ -17,6 +17,7 @@ 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
# Writes useful log files to debug memory leaks, of the sort where have