# Reports in Rails

**URL:** <https://www.ruby-forum.com/t/reports-in-rails/99267>\
**Category:** Rails\
**Created:** [July 21, 2006, 11:38am UTC](https://www.ruby-forum.com/t/reports-in-rails/99267 "2006-07-21T11:38:37Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jatinder\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/a88e4f/32.png) [@Jatinder\_S](https://www.ruby-forum.com/u/Jatinder_S)\
**Post date:** [July 21, 2006, 11:38am UTC](https://www.ruby-forum.com/t/reports-in-rails/99267/1 "2006-07-21T11:38:37Z")

</div>

Hi,

In my rails application I want to include a reporting mechanism that  
will  
allow the users of application to view statistics of various operations  
graphically.  
Does rails provide inbuilt reporting capabilities? what are different  
appraoches I can follow to achieve reporting in rails?  
On googling I found following as some of the options,  
1.Gruff Graphs for Ruby  
2.SVG  
3. using Apache FOP.

pros/cons for above approaches?

Regards,  
Jatinder

---

<div class="post-metadata">

**Author:** ![Jatinder\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/a88e4f/32.png) [@Jatinder\_S](https://www.ruby-forum.com/u/Jatinder_S)\
**Post date:** [July 21, 2006, 12:36pm UTC](https://www.ruby-forum.com/t/reports-in-rails/99267/2 "2006-07-21T12:36:43Z")

</div>

1. SVG - requires a special plugin, which very few people have on  
their browser. They might be willing to install on your request, but  
last I looked most SVG players weren’t very neat affairs (I recall one  
bloated Adobe that wasn’t something I’d gladly install).

---

<div class="post-metadata">

**Author:** ![Jatinder\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/a88e4f/32.png) [@Jatinder\_S](https://www.ruby-forum.com/u/Jatinder_S)\
**Post date:** [July 21, 2006, 2:51pm UTC](https://www.ruby-forum.com/t/reports-in-rails/99267/3 "2006-07-21T14:51:53Z")

</div>

Gruff Graphs for Ruby

It worked fine for me.

–Dibya

---

<div class="post-metadata">

**Author:** ![Jatinder\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/a88e4f/32.png) [@Jatinder\_S](https://www.ruby-forum.com/u/Jatinder_S)\
**Post date:** [July 21, 2006, 3:36pm UTC](https://www.ruby-forum.com/t/reports-in-rails/99267/4 "2006-07-21T15:36:46Z")

</div>

> Gruff Graphs for Ruby  
> I’ve found Gruff breaks quite easily (in the sense that the key will  
> flow off the image or text will spill off the image, and so on). Gruff  
> is cool but I really think Ruby / Rails is missing a heavy weight  
> graphing module.

## -Rob

* * *

“On two occasions, I have been asked [by members of Parliament],  
‘Pray, Mr. Babbage, if you put into the machine wrong figures, will  
the right answers come out?’ I am not able to rightly apprehend the  
kind of confusion of ideas that could provoke such a question.”  
– Charles Babbage (1791-1871)

“98.5% of DNA is considered to be junk DNA with no known purpose.  
Maybe it’s XML tags.” – Anon

[http://www.robhulme.com/](http://www.robhulme.com/)

> **[robhu](https://robhu.livejournal.com/)**
>
> robhu - the new blog in LiveJournal. There should be new interesting records soon.

---

<div class="post-metadata">

**Author:** ![Jatinder\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/a88e4f/32.png) [@Jatinder\_S](https://www.ruby-forum.com/u/Jatinder_S)\
**Post date:** [July 21, 2006, 4:02pm UTC](https://www.ruby-forum.com/t/reports-in-rails/99267/5 "2006-07-21T16:02:35Z")

</div>

RMagick is pretty heavy weight graphing modules which comes with rvg API

[http://www.imagemagick.org/RMagick/doc/rvgtut.html](http://www.imagemagick.org/RMagick/doc/rvgtut.html)

On 7/21/06, Robert H. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> 'Pray, Mr. Babbage, if you put into the machine wrong figures, will
> 
> Rails mailing list  
> removed\_email\_address@domain.invalid  
> [http://lists.rubyonrails.org/mailman/listinfo/rails](http://lists.rubyonrails.org/mailman/listinfo/rails)

## – Kent

> **[DATANOISE.COM](https://www.datanoise.com/)**
>
> DATANOISE.COM - Contact us for any business inquiries

---

<div class="post-metadata">

**Author:** ![Jatinder\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/a88e4f/32.png) [@Jatinder\_S](https://www.ruby-forum.com/u/Jatinder_S)\
**Post date:** [July 21, 2006, 4:43pm UTC](https://www.ruby-forum.com/t/reports-in-rails/99267/6 "2006-07-21T16:43:30Z")

</div>

I’ve been using the Eclipse BIRT project to build reports with my ROR  
applications. You need to setup Tomcat to host the BIRT application.  
Once done, I have the ROR application act as the front end allowing the  
user to setup any filters for the reports and then I simply call BIRT  
with the parameters of the filters and whether to run as HTML report or  
PDF.

Works like a charm …

DC

Jatinder S. wrote:

> Hi,
> 
> In my rails application I want to include a reporting mechanism that  
> will  
> allow the users of application to view statistics of various operations  
> graphically.  
> Does rails provide inbuilt reporting capabilities? what are different  
> appraoches I can follow to achieve reporting in rails?  
> On googling I found following as some of the options,  
> 1.Gruff Graphs for Ruby  
> 2.SVG  
> 3. using Apache FOP.
> 
> pros/cons for above approaches?
> 
> Regards,  
> Jatinder
