rubyonrailsin

A Ruby and Rails talk

Friday, March 19, 2010


Re: [Rails] Re: How to save rails generated pages to a file on the server

by rubyonrailsin 0 comments

Tag


Share this post:
Design Float
StumbleUpon
Reddit

>> 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-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

No comments:

Post a Comment

Subscribe feeds via e-mail

Blog Archive