Ruby on Rails Report Generator
Is there a way that I can produce a report in RoR wit开发者_运维百科hout using Ruport or any other report generator rails plugin?
There is nothing magical about a "report", you can create your own view which calculates summary data in whatever type of visualization you might need.
I gave my Spanish railsconf talk about that:
http://www.slideshare.net/ferdinand13/el-ferrocarril-contra-los-arboles-muertos2 (Spanish)
You have a handful of options, any of which is a silver bullet.
I am very pleased with wicked-pdf lately.
I hope this helps you, sorry the slides are in spanish, but code samples should serve you to get an idea.
You can try to use Jasper Report as your report backend processing. You can design your report with Jasper's web interface and programmatically call Jasper's processing tools.
Have a look here.
I hope it'll help.
精彩评论