render_to_string

http://api.rubyonrails.org/classes/ActionController/Base.html#M000659

That puts it into a local variable anyway... if you can then pass that
to htmldoc you're on your way.  Not sure how this might affect any
paths to CSS/images for HTMLDOC though.

Thanks. CSS is "no problem" with HTMLDOC - it doesn't support it ;-)

Maybe, I need to find some alternative for HTMLDOC. My problem is, that
I have a table with variable number of columns.

Prawn.  http://railscasts.com/episodes/153-pdfs-with-prawn

--
You received this message because you are subscribed to the Google Groups "Ruby on 
Rails: Talk" group.
To post to this group, send email to rubyonrails-t...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to