On 13 Nov 2008, at 21:10, brady8
<bradybouchard-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
>
> 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''"
> error.
>
> 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.
>
If you asked over on the rubyonrails-core mailing list I''d be
surprised if the people who made those changes didn''t chip in
Fred> 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,
> Brady
> >
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---