# Reporting from Ruby/Rails

**URL:** <https://www.ruby-forum.com/t/reporting-from-ruby-rails/72819>\
**Category:** Rails\
**Created:** [October 19, 2006, 4:57am UTC](https://www.ruby-forum.com/t/reporting-from-ruby-rails/72819 "2006-10-19T04:57:35Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![unknown](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/u/4bbf92/32.png) [@unknown](https://www.ruby-forum.com/u/unknown)\
**Post date:** [October 19, 2006, 4:57am UTC](https://www.ruby-forum.com/t/reporting-from-ruby-rails/72819/1 "2006-10-19T04:57:35Z")

</div>

At our company we normally use Crystal Reports or Cognos for any  
reports which need to be generated from an application. This software  
has api’s for Java which make it pretty easy to run a report. Anyone  
have experience with these “enterprisey” reporting tools with ruby?  
Other options which people have used?

---

<div class="post-metadata">

**Author:** ![unknown](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/u/4bbf92/32.png) [@unknown](https://www.ruby-forum.com/u/unknown)\
**Post date:** [October 19, 2006, 2:33pm UTC](https://www.ruby-forum.com/t/reporting-from-ruby-rails/72819/2 "2006-10-19T14:33:44Z")

</div>

No, but I’ve used pdf-writer to roll my own reports. You have to lay  
everything out by hand, so maybe this is not an enterprisey solution.

---

<div class="post-metadata">

**Author:** ![unknown](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/u/4bbf92/32.png) [@unknown](https://www.ruby-forum.com/u/unknown)\
**Post date:** [October 20, 2006, 4:52pm UTC](https://www.ruby-forum.com/t/reporting-from-ruby-rails/72819/3 "2006-10-20T16:52:03Z")

</div>

This has been getting good word of mouth though I’ve not yet used it  
myself:

[http://ruport.infogami.com/](http://ruport.infogami.com/)

- Walter Korman – [http://www.lemurware.com](http://www.lemurware.com)

---

<div class="post-metadata">

**Author:** ![unknown](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/u/4bbf92/32.png) [@unknown](https://www.ruby-forum.com/u/unknown)\
**Post date:** [October 25, 2006, 2:41pm UTC](https://www.ruby-forum.com/t/reporting-from-ruby-rails/72819/4 "2006-10-25T14:41:22Z")

</div>

On Sat, 21 Oct 2006 14:18:01 +1300  
“Jonathan V.” [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Eclipse BIRT is a good solution.
> 
> -Jonathan.

Sure, if you’re using Java. It can be made to work with rails with some  
glue such as a web service however.

Jason

---

<div class="post-metadata">

**Author:** ![unknown](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/u/4bbf92/32.png) [@unknown](https://www.ruby-forum.com/u/unknown)\
**Post date:** [October 21, 2006, 3:20am UTC](https://www.ruby-forum.com/t/reporting-from-ruby-rails/72819/5 "2006-10-21T03:20:06Z")

</div>

Eclipse BIRT is a good solution.

-Jonathan.

---

<div class="post-metadata">

**Author:** ![unknown](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/u/4bbf92/32.png) [@unknown](https://www.ruby-forum.com/u/unknown)\
**Post date:** [October 25, 2006, 10:55pm UTC](https://www.ruby-forum.com/t/reporting-from-ruby-rails/72819/6 "2006-10-25T22:55:26Z")

</div>

unknown wrote:

> At our company we normally use Crystal Reports or Cognos for any  
> reports which need to be generated from an application. This software  
> has api’s for Java which make it pretty easy to run a report. Anyone  
> have experience with these “enterprisey” reporting tools with ruby?  
> Other options which people have used?

I ended up writing an entirely configurable reporting system for Rails.  
No coding is necessary.

It can generate any kind of calculated grid of numbers based on metrics  
that you set up over your Models via the GUI and it graphs it all with  
scruffy ([http://scruffy.rubyforge.org/](http://scruffy.rubyforge.org/))

I have been planning to spin it out as an engine for anybody to use. If  
this is of interest to you, email me and I will send you screen shots.

Best Regards,

Steven

---

<div class="post-metadata">

**Author:** ![unknown](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/u/4bbf92/32.png) [@unknown](https://www.ruby-forum.com/u/unknown)\
**Post date:** [November 7, 2006, 10:48am UTC](https://www.ruby-forum.com/t/reporting-from-ruby-rails/72819/7 "2006-11-07T10:48:32Z")

</div>

Hey Steven,

This is cool. I’ve been looking for a way to turn data series into  
scruffy svg plots. I want to use it for financial data. I’d be  
interested in taking a look at your code. Are you planning to release  
it publicly?

I’m currently fighting browser issues with inlining svg within regular  
rhtml. How do I change to page type from text/html to  
application/xhtml+xml?

I find the Rails + Scruffy integration a very useful thing; I’d be  
happy to work on that project, if you need help.

Cheers,

Wolfram

---

<div class="post-metadata">

**Author:** ![unknown](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/u/4bbf92/32.png) [@unknown](https://www.ruby-forum.com/u/unknown)\
**Post date:** [October 25, 2006, 11:52pm UTC](https://www.ruby-forum.com/t/reporting-from-ruby-rails/72819/8 "2006-10-25T23:52:51Z")

</div>

you could take a look at JasperReports.

[http://www.jasperforge.org/](http://www.jasperforge.org/)  
[http://jasperforge.org/sf/projects/jasperreports](http://jasperforge.org/sf/projects/jasperreports)

it’s a java based mature solution. i’m just looking for a good way to  
integrate it into my rails application. for now every report is heating  
up an jvm.  
works fine. but in a large environment im sure thats not the right way.

also they have a nice, free grphical tool to draw up the reports.

[http://jasperforge.org/sf/projects/ireport](http://jasperforge.org/sf/projects/ireport)

here’s a short description how to integrate JasperReports into Rails

[http://wiki.rubyonrails.com/rails/pages/HowtoIntegrateJasperReports](http://wiki.rubyonrails.com/rails/pages/HowtoIntegrateJasperReports)

---

<div class="post-metadata">

**Author:** ![unknown](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/u/4bbf92/32.png) [@unknown](https://www.ruby-forum.com/u/unknown)\
**Post date:** [February 5, 2008, 4:28pm UTC](https://www.ruby-forum.com/t/reporting-from-ruby-rails/72819/9 "2008-02-05T16:28:51Z")

</div>

I’ve been looking at Ruport, with pdf-writer underneath. If you ask me  
it is still a little bit immature for production use (slowish, no  
support for unicode, no standard support for page headers&footers,  
group headers&footers,…) and the api’s seem to change between  
versions.

I’m also looking at Jasper Reports handling the data from Rails to  
Jasper in XML through a pipe. Although Jasperreports en the iReports  
designer work pretty well, I’ve not yet got the interface between  
Rails and JasperReports to work.  
Has anyone succeeded ? I’ve followed to guidelinges in  
[http://wiki.rubyonrails.com/rails/pages/HowtoIntegrateJasperReports](http://wiki.rubyonrails.com/rails/pages/HowtoIntegrateJasperReports)  
but no succes yet ☹
