update to rails 4.2.5, clean up

This commit is contained in:
jomo
2016-01-17 19:45:46 +01:00
parent ce19d61e1d
commit e53228eaf1
11 changed files with 255 additions and 209 deletions

View File

@@ -4,7 +4,7 @@ module MailerHelper
begin
mails.each do |mail|
begin
mail.deliver
mail.deliver_now
rescue => e
Rails.logger.error "---"
Rails.logger.error "WARNING: '#{mail.try(:subject)}' failed for recipient #{mail.try(:to)}"