Sha256: c11ebaa14e84ab874d69a36157b1f01371dac565ebd9bf9b066549224e7e235d
Contents?: true
Size: 359 Bytes
Versions: 129
Compression:
Stored size: 359 Bytes
Contents
require 'models/user_notify.rb' ActionMailer::Base.class_eval { @@inject_one_error = false cattr_accessor :inject_one_error private def perform_delivery_test(mail) if inject_one_error ActionMailer::Base::inject_one_error = false raise "Failed to send email" if raise_delivery_errors else deliveries << mail end end }
Version data entries
129 entries across 129 versions & 2 rubygems