hometown/config/initializers/mail_delivery_job.rb

4 lines
93 B
Ruby

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