I've been attempting to get the prawnto (template wrapper around
"prawn", a native ruby PDF generator) working under Rails 2.2.
Repo is here: http://github.com/thorny-sun/prawnto/tree/master
To start off, I set it up and it gives an "unknown method 'compile'"
So, as far as I can tell between Rails 2.1 -> 2.2, TemplateHandlers
have switched from outputting their template code in a "render"
method, to outputting code to be compiled in a "compile" method.
Prawnto as it stands now doesn't support the compile method, but I'd
like to build that functionality in if possible.
Question is: does anyone know of any resources for Rails 2.2 on the
net that might speak to building a TemplateHandler, and/or updating
the output function from "render" to "compile"?
Thanks for your time,