Skip mailer job retries when a record no longer exists (#9590)

Fix #8666
This commit is contained in:
Eugen Rochko 2018-12-21 06:16:17 +01:00 committed by GitHub
parent 76cad0240a
commit ab443aaba8

View file

@ -0,0 +1,3 @@
ActionMailer::DeliveryJob.class_eval do
discard_on ActiveJob::DeserializationError
end