hometown/config/initializers/mail_delivery_job.rb

4 lines
93 B
Ruby
Raw Normal View History

ActionMailer::MailDeliveryJob.class_eval do
discard_on ActiveJob::DeserializationError
end