From 1ce92adc3f39f8a4c1b0263f740c2c4683c094aa Mon Sep 17 00:00:00 2001 From: Roland Jesse Date: Tue, 24 Jul 2012 22:09:58 +0200 Subject: [PATCH] Use mailcatcher in development. --- config/environments/development.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/config/environments/development.rb b/config/environments/development.rb index 19889ce..df579e1 100644 --- a/config/environments/development.rb +++ b/config/environments/development.rb @@ -27,6 +27,10 @@ ContactORama::Application.configure do # do not compress assets config.assets.compress = false + # use mailcatcher in development (http://mailcatcher.me/) + config.action_mailer.delivery_method = :smtp + config.action_mailer.smtp_settings = { :address => "localhost", :port => 1025 } + # Expands the lines which load the assets config.assets.debug = true end