Newbie :: Create document from database

Hi all,
I am newbie to ruby. I am creating web based data management tool
using ruby on rails. I’ve done with interface and data management. Now
I want to create a document from database. I want my database values
should reflect in standard doc format, like a template. How can I do
it in ruby. I am using MySQL-front as back-end.
Please help me out.

Thanks,
-aveo

aveo wrote:

Hi all,
I am newbie to ruby. I am creating web based data management tool
using ruby on rails. I’ve done with interface and data management. Now
I want to create a document from database. I want my database values
should reflect in standard doc format, like a template. How can I do
it in ruby. I am using MySQL-front as back-end.
Please help me out.

Thanks,
-aveo

Not sure about creating a document from within ruby but you can create
PDFs with gems like pdf::writer. do a search of this forum for some good
posts comparing PDF generating tools.

Also, it doesn’t help to post two identical posts within 10 mintues of
each other, if you don’t get an instant answer then check back later,
this is a public forum and there are no guarantees of replies within X
minutes.

RJ wrote:

Not sure about creating a document from within ruby but you can create
PDFs with gems like pdf::writer. do a search of this forum for some good
posts comparing PDF generating tools.

Thanks RJ,
I found some thing called WIN32OLE library.
links…
http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/241606
http://www.rubycentral.com/book/html/win32.html

With this help can I achieve my objective.

Please let me know
Thanks
-aveo

RJ wrote:

Also, it doesn’t help to post two identical posts within 10 mintues of
each other, if you don’t get an instant answer then check back later,
this is a public forum and there are no guarantees of replies within X
minutes.

That was mistakenly done. I didnot know Ruby forum and google groups for
R&R are same. I posted them separately on different location.

Regards
-aveo