Simple reporting gem in rails

Hi,

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?

I think Rupport and Crystal Report are inactive.

Thanks.

PDF kit or wicked PDF are my best solution to turn HTML and CSS to PDF files. You should took a look on those ones.

Thanks a lot, Thiago. I will try out these.

Hey,

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.

~Spaceghost