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
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment