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
wicked_pdf looks like it will do exactly what I want, but I'm struggling to get it working with rails 3. I'm new to rails, so I may be doing something really dumb. When I get to the install instructions, I figured I needed to do 'rails plugin install ...' instead of 'script/plugin install ...'. The next step is 'script/generate wicked_pdf'. What is the rails 3 equivalent of that? I tried the obvious 'rails generate wicked_pdf' but that says 'Could not find generator wicked_pdf.'.
Can wicked_pdf be used with rails 3 as it is, or am I wasting my time?
Thanks, Mike Wilson
The text was updated successfully, but these errors were encountered:
I made some more progress: it looks like I just need to copy the initialiser instead of running 'script/generate'. Now the downloaded PDF is a file with 10 blank lines.
Thanks for the advice. I kept on researching and think PDFKit is an easier solution for what I'm trying to do. I'll use that for now and come back to wicked_pdf if I need the extra power.
wicked_pdf looks like it will do exactly what I want, but I'm struggling to get it working with rails 3. I'm new to rails, so I may be doing something really dumb. When I get to the install instructions, I figured I needed to do 'rails plugin install ...' instead of 'script/plugin install ...'. The next step is 'script/generate wicked_pdf'. What is the rails 3 equivalent of that? I tried the obvious 'rails generate wicked_pdf' but that says 'Could not find generator wicked_pdf.'.
Can wicked_pdf be used with rails 3 as it is, or am I wasting my time?
Thanks, Mike Wilson
The text was updated successfully, but these errors were encountered: