Has anyone accomplished this magical feat and have code they’d like to share?
I’m trying to offload some of my PDF generation stuff into DRB, and generate some PDFs from Rake tasks. Of course, these PDFs are driven using HTML from my application…that comes from RHTML templates.
Right now I’m doing it via a module inside my controller - but of course all that Rails ActionView and ActionController magic go away when you’re in DRB or Rake land.
I’m going crazy here - someone point me in the right direction.