Partials, subfolders, and ActionMailer


#1

I get ActionMailer::TemplateError (controller_path) from using
render :partial => ‘item_list’
I’ve also tried manipulating the @template and the template_root
variable in ActionMailer for placing templates in a sub folder, but
that does not work either. It never looks in the place I tell it to.
Try it.

If anyone knows how to get either of those working, please let me
know.

I saw someone filed a bug for the partials, but apparently they marked
it resolved for 1.2.2 and I’m on 1.2.3.

For now I have removed the partials (copied them into all templates,
ugh) and using tm as a prefix to the template instead of subfolder.

Thanks everyone. Hopefully someone can shed some light on it for me.

Fredrik