# Is this possible with Ruby on Rails?

**URL:** <https://www.ruby-forum.com/t/is-this-possible-with-ruby-on-rails/137986>\
**Category:** Rails\
**Created:** [May 19, 2008, 9:44am UTC](https://www.ruby-forum.com/t/is-this-possible-with-ruby-on-rails/137986 "2008-05-19T09:44:10Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![FurrNak](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/f/f475e1/32.png) [@FurrNak](https://www.ruby-forum.com/u/FurrNak)\
**Post date:** [May 19, 2008, 9:44am UTC](https://www.ruby-forum.com/t/is-this-possible-with-ruby-on-rails/137986/1 "2008-05-19T09:44:10Z")

</div>

Hi All,

I wonder if you could help me, I have a project for a web site which  
will allow users to log in, complete a questionnaire and then submit  
it.

It will have a MySQL DB to store user details and data etc… all  
standard stuff. However I would like the following action to happen on  
submit.

1.) A file to be produced that will contain the data in table format  
that can be opened in Excel  
2.) Bar chart type Graphs with a median, average, mode etc to be  
produced from the answers  
3.) A PDF file to be made from the Graph page  
4.) All this to be sent via email to an specific email address bases  
on the logon  
5.) This should be done back end, all the user does is complete the  
questionnaire and submit, thats it they are done

I’m proficient in Java, but have only very recently decided to get  
into Ruby.  
I have a test server on my local pc Xampp (MySQL, Apache, PHP), Ruby  
etc all tested and working.  
Eclipse with the Aptana Ruby on Rails plug in

Thanks in advance  
Furnak

---

<div class="post-metadata">

**Author:** ![FurrNak](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/f/f475e1/32.png) [@FurrNak](https://www.ruby-forum.com/u/FurrNak)\
**Post date:** [May 19, 2008, 10:28am UTC](https://www.ruby-forum.com/t/is-this-possible-with-ruby-on-rails/137986/2 "2008-05-19T10:28:55Z")

</div>

On May 19, 12:05 am, FurrNak [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> 1.) A file to be produced that will contain the data in table format  
> into Ruby.  
> I have a test server on my local pc Xampp (MySQL, Apache, PHP), Ruby  
> etc all tested and working.  
> Eclipse with the Aptana Ruby on Rails plug in
> 
> Thanks in advance  
> Furnak

You should check out Ruport - [http://rubyreports.org/](http://rubyreports.org/).

---

<div class="post-metadata">

**Author:** ![FurrNak](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/f/f475e1/32.png) [@FurrNak](https://www.ruby-forum.com/u/FurrNak)\
**Post date:** [May 19, 2008, 4:16pm UTC](https://www.ruby-forum.com/t/is-this-possible-with-ruby-on-rails/137986/3 "2008-05-19T16:16:37Z")

</div>

On May 18, 6:05 pm, FurrNak [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> 1.) A file to be produced that will contain the data in table format  
> that can be opened in Excel

Creating a simple CSV or tab delimited file is easy.

> 2.) Bar chart type Graphs with a median, average, mode etc to be  
> produced from the answers

There are several graphing libs available. Gruff being one of them.

> 3.) A PDF file to be made from the Graph page

Yup. There are PDF plugins.

> 4.) All this to be sent via email to an specific email address bases  
> on the logon

ActionMailer

> 5.) This should be done back end, all the user does is complete the  
> questionnaire and submit, thats it they are done

Sure. If you need to, you can use backgroundrb or a Ruby daemon  
library.

---

<div class="post-metadata">

**Author:** ![FurrNak](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/f/f475e1/32.png) [@FurrNak](https://www.ruby-forum.com/u/FurrNak)\
**Post date:** [May 20, 2008, 1:47am UTC](https://www.ruby-forum.com/t/is-this-possible-with-ruby-on-rails/137986/4 "2008-05-20T01:47:02Z")

</div>

Cheers mate,

How long does it take to transfer from Java to Ruby would you say,  
from test alots the same but others are substantially different.
