search for: my_mail_object

Displaying 1 result from an estimated 1 matches for "my_mail_object".

2008 Apr 09
0
Understanding ActionMailer::Base.new
While writing a small plugin I stumbled upon this strangeness. I have TMail objects stored in database for process that sends them out whenever needed. Obvious way of sending them out would be calling ActionMailer::Base.deliver(my_mail_object) That works just fine. However I have method chain hooking into instance method deliver!: alias_method_chain :deliver!, :something_crazy so I need to send directly using deliver_without_something_crazy! method. Easy, right? All that I need to do is call: ActionMailer::Base.new.deliver_without_so...