Displaying 1 result from an estimated 1 matches for "update_deliver_date_field".
2006 Jun 20
0
An after_deliver filter for ActionMailer?
...I don''t want to put this update code in the
email creation method of my ActionMailer::Base class because I''d rather
have this field updated when the email is _sent_ rather than when it is
_created_.
Is there a filter such that I could do something like this?
delivery_filter :update_deliver_date_field
def update_deliver_date_field
# update my model
end
--
Posted via http://www.ruby-forum.com/.