I need to generate few basic reports in rails (generated on the basis of some SQLs fired on MySQL) which can be viewed in HTML5 and then if a user wants, he should be able to download a pdf file for the report. Can someone suggest a gem for this requirement?
Rather than use pdfkit, wickedpdf, or wkhtmltopdf, use phantomjs and look for ‘rasterizer.js’, it’s vastly superior, though you’ll find some interesting problems if you have tables that flow from one page to another since I last used it.