Thursday 20 May 2010

Prawn can't dup Fixnum

Prawn has been and gone and updated itself - which is fair enough but damn it for eating up a good few hours while I tried to sort out a bug - that for once wasn't my fault.
Couple of things have changed
pdf.header has gone as has pdf.footer
Now replaced by pdf.repeat :all
That took a little bit of jiggery-pokery to sort out - but not too hard

Then the
can't dup Fixnum error kept cropping up.
This was simple - convert to a string
ie @job.id.to_s

No comments:

Post a Comment