From 57c1650e045050f551b34b2271d46dfcde857b4b Mon Sep 17 00:00:00 2001 From: nilsding Date: Thu, 1 Jan 2015 18:08:09 +0100 Subject: [PATCH] added mailers to development environment --- config/environments/development.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config/environments/development.rb b/config/environments/development.rb index ddf0e90c..04036a80 100644 --- a/config/environments/development.rb +++ b/config/environments/development.rb @@ -13,6 +13,9 @@ Rails.application.configure do config.consider_all_requests_local = true config.action_controller.perform_caching = false + config.action_mailer.delivery_method = :sendmail + config.action_mailer.default_url_options = { host: 'justask.local' } + config.action_mailer.perform_deliveries = true # Don't care if the mailer can't send. config.action_mailer.raise_delivery_errors = false