cybre-space/config/initializers/delivery_job.rb

4 lines
89 B
Ruby

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