[Rails] ActionMailing rendered pages

Tomasz Bąk openbsdpl at wp.pl
Wed Jan 11 13:44:28 GMT 2006


Hi,
I am having problems figuring out how to send
properly html pages attachments which are
some other application's components rendered pages.
It seems, that when I use something like this:

part :content_type => "text/html",
   :body => render_message("optestweek", :week => week,
     :profiles => profiles )

I have no more access to methods like "url_for" inside of
the template optestweek.rhtml.

Please, share ome toughts with me on this.

Tom



More information about the Rails mailing list