top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

Simple reporting gem in ruby on rails?

+2 votes
503 views

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?

posted Jan 12, 2014 by Seema Siddique

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

2 Answers

+2 votes

PDF kit or wicked PDF are best solution to turn HTML and CSS to PDF files.

answer Jan 12, 2014 by anonymous
+1 vote

Rather than use pdfkit, (or wickedpdf, or wkhtmltopdf) use phantomjs and look for rasterizer.js, its vastly superior.

answer Jan 13, 2014 by Naveena Garg
Similar Questions
+1 vote

Rails seems to have a whole whack of them and I'm not sure which ones match my requirements. The library must:

  • be fully themeable; the overall layout is going to be made from scratch
  • allow custom content for pages (i.e. a developer-made page)
  • allow defining of different types of posts with different fields/data
  • support image upload for at least pages and preferably posts as well
  • be relatively easy to extract post content outside the CMS (e.g. for use in sending an e-mail digest)

Preferably it should:
- Be compatible with Rails 4
- allow individual pages to be user-edited with HTML/CSS after they've been created

Can anyone recommend one for me?

+1 vote

Is it possible to use ruby gems such as "gosu" or "fxruby" on a rails applications? And if so how do you do it?

+1 vote

I'm working on an ecommerce website and need to implement an authentication and authorization system. The system should be restful so that i can consume it from different sources like (web, android, ios etc). I'm currently working on devise but dont know how to convert it restful. Can anyone help me with the best gem using which i can implement above scenario ASAP.

Also can someone provide me with testing methodologies for authentication system which is restful. It would be very helpful if you can provide a blog or video tutorial for accomplishing the above task.

...