Prawn is a Ruby library, not a plugin. Are you trying to use Prawnto?
That's the Rails plugin that gives you pdf.prawn templates, but it
hasn't been updated in a while.
Here's the solution that we use and recommend for PDF generation in Rails:
On 6 September 2010 02:01:17 UTC+2, Olivier Brisse <oura...@gmail.com> wrote:
Hi Josh,
On Sep 6, 4:43 am, Josh <josh.m.sha...@gmail.com> wrote:
> Who's version of prawnto are folks using these days? thory-sun's
> hasn't been updated in a long time and still claims to only support
> rails 2.1 and 2.2. Of all the forks is there any one in particular
> that's more up to date with more recent versions of rails?
I've used this version recently in a Rails 2.3.8 project without any
problems.
However, in another project I'm using prawn directly as explained
here : http://wiki.github.com/sandal/prawn/using-prawn-in-rails
I find it more flexible. My pdf documents are now subclasses of
Prawn::Document instead of views.
It's easier to share common code and you can either render the
document in the browser or write it somewhere to use it later (ie mail
it).