Displaying 1 result from an estimated 1 matches for "bookingmailer".
2007 Jan 25
0
Fragment Cache in ActionMailer
I have a controller which iterates through a group of people and
dynamically generates an email for each person, it is a bit DB heavy so
caching would really help.
Adding ''include ActionController::Caching::Fragments'' to my
BookingMailer model produces this error:
ActionView::TemplateError (undefined local variable or method
`perform_caching'' for #<BookingMailer:0x4768834>)
So I added ''include ActionController::Caching'' as well. Now I get:
ActionView::TemplateError (undefined method `url_for'...