From a822cca861a7522b8e7878a383e3b9fac6a7282a Mon Sep 17 00:00:00 2001 From: Steve Kenworthy Date: Thu, 2 Jan 2014 12:44:56 +0800 Subject: [PATCH] Send emails to file in development mode --- config/environments/development.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config/environments/development.rb b/config/environments/development.rb index d0151720c6..99049d932a 100644 --- a/config/environments/development.rb +++ b/config/environments/development.rb @@ -19,6 +19,8 @@ config.consider_all_requests_local = true config.action_controller.perform_caching = false + config.action_mailer.delivery_method = :file + # Don't care if the mailer can't send config.action_mailer.raise_delivery_errors = true