You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not sure if this is a genuine issue or if I'm doing something incorrectly.
I have this code which worked correctly in 0.2.6. It loads a prawn pdf then loads blank.pdf and stamps a different prawn generated pdf onto it and combines them
prawn_pdf = render_to_string "/forms/show.pdf"
pdf = CombinePDF.parse(prawn_pdf)
blank_declaration = CombinePDF.load("#{Rails.root}/public/blank.pdf")
signature_pdf_data = render_to_string "/electronic_signatures/signature.pdf"
signature_pdf = CombinePDF.parse(signature_pdf_data)
blank_declaration.pages.first << signature_pdf.pages.first # error on this line
pdf << blank_declaration
After updating to 0.2.8 I get this error on the line mentioned above
NoMethodError (undefined method `[]' for nil:NilClass):
This seems to relate to the changes mentioned in issue #32
I've reverted to 0.2.6 for now which is working fine anyway.
Cheers for the awesome gem!
The text was updated successfully, but these errors were encountered:
Oops... It might be my bad... I tried to fix what might have gone wrong...
please update to version 0.2.9 and review.
Also, if you could (in case the error didn't go away) send me the full error report... It's easier to find the error using the traceback that shows what lines of code in the gem's files raised the exception.
I'm not sure if this is a genuine issue or if I'm doing something incorrectly.
I have this code which worked correctly in 0.2.6. It loads a prawn pdf then loads
blank.pdf
and stamps a different prawn generated pdf onto it and combines themAfter updating to 0.2.8 I get this error on the line mentioned above
This seems to relate to the changes mentioned in issue #32
I've reverted to
0.2.6
for now which is working fine anyway.Cheers for the awesome gem!
The text was updated successfully, but these errors were encountered: