search for: deliver_without_something_crazy

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

2008 Apr 09
0
Understanding ActionMailer::Base.new
...at 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_something_crazy!(my_mail_object) Problem is that ActionMailer::Base.new returns nil for whatever reason. That doesn''t make much sense to me because this is the definition of deliver method: Action...