[Rails-core] [Tiny Patch Actionmailer] checks if content-type exists before checking main type

2006-07-23 Thread Surendra Singhi
hment") || - part.header['content-type'].main_type != "text" +(part.header['content-type'] && part.header['content-type'].main_type != "text") end def attachments Thanks. -- Surendra Singhi http://ssinghi.kreeti.com, ht

[Rails-core] [PATCH] wrong template rendering

2006-06-27 Thread Surendra Singhi
m me. Enjoy! \ No newline at end of file Index: path.with.dots/multipart_with_template_path_with_dots.rhtml === --- path.with.dots/multipart_with_template_path_with_dots.rhtml (revision 4495) +++ path.with.dots/multipart_with_template_