mileszs/wicked_pdf — Issue #57: wicked_pdf generation in a resque queue?
Author: dgdosen
Created: 2011-10-14 21:28:52+00:00
State: open

I'm trying to use wicked_pdf generation for use in a resque work queue. I sometimes use wicked_pdf to send off a batch of emails to customers, and would like to trigger that in an app, and then have a worker queue (in resque) do the actual work.

The problem is, in the queue, there's no request object - I'd have to render a pdf to a string somehow. Should I be able to call that on a new wicked_pdf object?