[Backgroundrb-devel] Fwd: Render_to_string from a worker

hemant kumar gethemant at gmail.com
Sat Nov 24 22:16:30 EST 2007


You are using render_to_string for generating pdf? You must be using one
of those groovy plugins i suppose.

Well if, yes... i suppose, it would be available in worker as well...
But can't say much unless i know, which plugin you are using and
stuff...


On Sun, 2007-11-25 at 12:43 +1100, felix clack wrote:
> 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
> _______________________________________________
> Backgroundrb-devel mailing list
> Backgroundrb-devel at rubyforge.org
> http://rubyforge.org/mailman/listinfo/backgroundrb-devel



More information about the Backgroundrb-devel mailing list