diff options
author | Louise Crow <louise.crow@gmail.com> | 2012-11-01 16:07:07 +0000 |
---|---|---|
committer | Louise Crow <louise.crow@gmail.com> | 2012-11-01 16:07:07 +0000 |
commit | b63a205faf27559d1d1710c7a3c68468e3d4c017 (patch) | |
tree | 67dc8c561b440b61cff4e579efaa0292cb1c0aff /config/environments/development.rb | |
parent | 4692426d690bad8123d7572afad0227607f02a86 (diff) | |
parent | 9feef18646b7838dc7204c6976bd74444002f37a (diff) |
Merge remote-tracking branch 'openaustralia_github/use_mailcatcher_in_development' into develop
Conflicts:
Gemfile.lock
Diffstat (limited to 'config/environments/development.rb')
-rw-r--r-- | config/environments/development.rb | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/config/environments/development.rb b/config/environments/development.rb index aba937da8..c43cdb049 100644 --- a/config/environments/development.rb +++ b/config/environments/development.rb @@ -17,8 +17,11 @@ 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. |