[Backgroundrb-devel] Fwd: Render_to_string from a worker

felix clack felixclack at gmail.com
Sat Nov 24 20:43:22 EST 2007


Hi,
I am trying to generate a PDF from within a worker using PDF::Writer. In my
controller I use render_to_string to create the pdf file however from what I
understand render_to_string can only be used from a controller.

Does anybody have any suggestions how I might be able to replicate this
functionality in a worker?

-- 
thanks,
Felix
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/backgroundrb-devel/attachments/20071125/2a43cba6/attachment.html 


More information about the Backgroundrb-devel mailing list