I have worked with prawnto before and it works great. But when I use it again today, I got this error:
uninitialized constant ActionView::CompiledTemplates::Prawn
and the code is just
show.html.erb
pdf.text "Hello World"
Can anyone help me on this?
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.