Forum: Ruby on Rails partials, subfolders, and ActionMailer

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
F148ec0cad8ea241b1cfd80e7ec8a7df?d=identicon&s=25 Fredrik (Guest)
on 2007-04-16 21:39
(Received via mailing list)
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

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.

This topic is locked and can not be replied to.