Ruby on Rails 中是否有任何报告工具或 gem
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/8969357/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Is there any reporting tool or a gem in Ruby on Rails
提问by Jeevan Dongre
I am looking for a reporting gem or tool in ruby on rails. its for a e-commerce app, where I need to generate lot of data like sales report, marketing reporting,etc, I want to keep it more generic and open so that the users can get any kind of report.
我正在寻找 ruby on rails 中的报告 gem 或工具。它用于电子商务应用程序,我需要在其中生成大量数据,例如销售报告、营销报告等,我希望使其更加通用和开放,以便用户可以获得任何类型的报告。
回答by peterpengnz
Have a look the question I asked another day: is there any Ruby or Rails reporting tools based on customizable templates?
看看我改天问的问题:是否有任何基于可定制模板的 Ruby 或 Rails 报告工具?
Thin Reports and ODF report are very good. If you need to compare more reporting gems try The Ruby Box: reporting section. There are few other good reporting tools as well.
Thin Reports 和 ODF 报告非常好。如果您需要比较更多的报告宝石,请尝试Ruby Box:报告部分。还有一些其他好的报告工具。
here is my summary about thin reports and ODF report:
这是我对精简报告和 ODF 报告的总结:
Thin Reports: It is really good. You download a template editor then you define your own report template then by combine the thinreports gems you can get SVG or PDF report out of your application.
薄报告:这真的很好。您下载模板编辑器,然后定义自己的报告模板,然后通过结合 Thinreports gem,您可以从应用程序中获取 SVG 或 PDF 报告。
ODF Report: It uses ODF file as template which can be edit by OpenOffice and MS Word 2010. Then You get your report out.
ODF 报告:它使用 ODF 文件作为模板,可以通过 OpenOffice 和 MS Word 2010 进行编辑。然后您将得到您的报告。
回答by Jitu
Hi guys I have been working on a reporting tool, a ruby gem. Please have a look and suggest me if you have some features in mind. I am already using it in 2 of my projects. http://ashrafuzzaman.github.io/query_report/
大家好,我一直在研究报告工具,一个 ruby gem。如果您有一些功能,请看一看并建议我。我已经在我的 2 个项目中使用它。 http://ashrafuzzaman.github.io/query_report/
回答by abo-elleef
you can use the new gem active reportingand here is talkabout in rails conf 2017
回答by Thilo
For graphical reports, check out the answers to this question:
对于图形报告,请查看此问题的答案:
Ruby on Rails: What Reporting and/or Charting Tools Are Available?
For raw stats, I've been using the statisticsgem - I'm not sure if it's still maintained.
对于原始统计数据,我一直在使用统计宝石 - 我不确定它是否仍在维护。

