KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
Hi i am using wicked_pdf for generating images after i save image when i generate pdf and used this tag for display image like this <%= wicked_pdf_image_tag(@image.snap.url(:original)) unless @image.blank? %> it give me this unknown error ActionView::Template::Error (undefined method `pathname' for nil:NilClass): while puts @image.inspect give me right path below "/system/snaps/7/original/flake.jpg" Can any one help Thanks....
Tags (comma-separated)
Save Edits
Cancel