Avoid a deprecation warning by poly-filling #deliver_now and #deliver_now

This commit is contained in:
Godfrey Chan
2014-11-10 01:05:46 -08:00
parent 7351917ee4
commit b1a0cd417d
5 changed files with 22 additions and 9 deletions
@@ -0,0 +1,8 @@
unless rails_master?
class Mail::Message
alias_method :deliver_now, :deliver
alias_method :deliver_now!, :deliver!
end
end