I've tried PDFKit and wicked_pdf.
PDFKit almost got me where I wanted but it didn't have support for a css rule so that I could get the footer fixed in the bottom:
position: fixed;
bottom: 0;
Any workarounds to fix this?
Googling the subject doesn't give much except others like prawn and the likes with no html support.
For those who wonder. wkhtmltopdf is installed and works thus PDFKit works.
respond_to do |format|
format.html {render :layout => nil}
format.pdf do
render :pdf => "file_name.pdf",
:save_to_file => Rails.root.join('public/uploadedfiles', "filename")
end
end