Displaying 1 result from an estimated 1 matches for "order_summary".
2006 Apr 07
1
error when rendering partial from an email template
Hi,
For an ecommerce application, I am trying to create an html email that
summarizes a customers order. (This is very similar to the Agile Rails
book page 417.) My templates are in two directories.
views/
order_mailer/
sent.rhtml
store/
_order_summary.rhtml
_line_item.rhtml
sent.rhtml needs to render the _order_summary.rhtml partial which
needs to render the _line_item.rhtml summary.
If I do the following in sent.rhtml I get an error that Rails can''t
find a partial named order_summary
render(:partial=>"store/order_summary...