# Can I use ROR For my project?

**URL:** <https://www.ruby-forum.com/t/can-i-use-ror-for-my-project/141615>\
**Category:** Rails\
**Created:** [June 27, 2008, 8:09pm UTC](https://www.ruby-forum.com/t/can-i-use-ror-for-my-project/141615 "2008-06-27T20:09:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![chengpan](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/6f9a4e/32.png) [@chengpan](https://www.ruby-forum.com/u/chengpan)\
**Post date:** [June 27, 2008, 8:09pm UTC](https://www.ruby-forum.com/t/can-i-use-ror-for-my-project/141615/1 "2008-06-27T20:09:27Z")

</div>

Hello, I am new to ROR and was wondering if it is a viable solution to  
my project.  
I currently have a VB 6 application that is used to query a sql  
database and then dump into an excel or pdf file. My question is, how  
easy would it to be to write a web application that does the same  
thing? Additionally how would I go about doing this?

---

<div class="post-metadata">

**Author:** ![chengpan](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/6f9a4e/32.png) [@chengpan](https://www.ruby-forum.com/u/chengpan)\
**Post date:** [June 28, 2008, 7:42am UTC](https://www.ruby-forum.com/t/can-i-use-ror-for-my-project/141615/2 "2008-06-28T07:42:08Z")

</div>

This will help you with the PDFs : [#78 Generating PDF Documents - RailsCasts](http://railscasts.com/episodes/78)

Maybe this for CSV :

> **[How to generate CSV files in Rails](https://satishonrails.wordpress.com/2007/06/28/how-to-generate-csv-files-in-rails/)**
>
> Controller code : require ‘csv’ def export\_to\_csv@customers=CustomerInformation.find(:all) report = StringIO.new CSV::Writer.generate(report, ‘,’) do |title| title \<\< …

I have both functionality in my app, although I do it differently.  
Also, my code is in the LIB directory, not in the controller.
