Simple reporting gem in rails

129 views
Skip to first unread message

Ankur Kumar

unread,
Jan 12, 2014, 2:18:26 PM1/12/14
to rubyonra...@googlegroups.com

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. 
--
Regards,
Ankur

Thiago Cifani

unread,
Jan 12, 2014, 4:48:19 PM1/12/14
to rubyonra...@googlegroups.com
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.

Sent from Mailbox for iPhone


--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-ta...@googlegroups.com.
To post to this group, send email to rubyonra...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CALSL1ePfkLOGsjJHUpeDSiB42mMobLv6ToxchefcT9VipK-7zA%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

Ankur Kumar

unread,
Jan 13, 2014, 8:22:13 AM1/13/14
to rubyonra...@googlegroups.com

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

--
Regards,
Ankur

Johnneylee Jack Rollins

unread,
Jan 13, 2014, 10:44:44 AM1/13/14
to rubyonra...@googlegroups.com
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


Reply all
Reply to author
Forward
0 new messages