# RoR with Existing tables in database using Postgresql

**URL:** <https://www.ruby-forum.com/t/ror-with-existing-tables-in-database-using-postgresql/194390>\
**Category:** Rails\
**Created:** [September 3, 2010, 4:00pm UTC](https://www.ruby-forum.com/t/ror-with-existing-tables-in-database-using-postgresql/194390 "2010-09-03T16:00:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kannan](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/7ba0ec/32.png) [@kannan](https://www.ruby-forum.com/u/kannan)\
**Post date:** [September 3, 2010, 4:00pm UTC](https://www.ruby-forum.com/t/ror-with-existing-tables-in-database-using-postgresql/194390/1 "2010-09-03T16:00:37Z")

</div>

Hi,

I am new bee to Rais. I need to create a Rails application with  
existing database with several number of tables. When i came across  
web, I didn’t find any fruitful ideas for developing application using  
existing tables. Everything i found was to create new database with  
Create, Edit, Insert feature. I need to create a application using  
existing postgresql database stuffed with tables where i have to  
provide view only permission to the user. Kinldy help me in this  
regard. I have 15 tables in my database which developed in postgresql.  
Advance thanx to my friends of RoR-Talk.

---

<div class="post-metadata">

**Author:** ![kannan](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/7ba0ec/32.png) [@kannan](https://www.ruby-forum.com/u/kannan)\
**Post date:** [September 4, 2010, 12:52am UTC](https://www.ruby-forum.com/t/ror-with-existing-tables-in-database-using-postgresql/194390/2 "2010-09-04T00:52:52Z")

</div>

Haven’t used them but I would check them out…  
[http://magicmodels.rubyforge.org/magic\_model\_generator/](http://magicmodels.rubyforge.org/magic_model_generator/)

> **[GitHub - ahe/reverse\_scaffold: This script generates a Rails scaffold based...](https://github.com/ahe/reverse_scaffold)**
>
> This script generates a Rails scaffold based on an existing table - GitHub - ahe/reverse\_scaffold: This script generates a Rails scaffold based on an existing table

Also, read this forum to consider some potential messy things.  
[http://www.ruby-forum.com/topic/149050](http://www.ruby-forum.com/topic/149050)

---

<div class="post-metadata">

**Author:** ![kannan](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/7ba0ec/32.png) [@kannan](https://www.ruby-forum.com/u/kannan)\
**Post date:** [September 6, 2010, 4:39pm UTC](https://www.ruby-forum.com/t/ror-with-existing-tables-in-database-using-postgresql/194390/3 "2010-09-06T16:39:52Z")

</div>

Hi,

The Problem got solved… Thank you for valuable comments from each one  
in  
this thread.

On 4 September 2010 00:52, Cuz I. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Haven’t used them but I would check them out…  
> [http://magicmodels.rubyforge.org/magic\_model\_generator/](http://magicmodels.rubyforge.org/magic_model_generator/)  
> [GitHub - ahe/reverse\_scaffold: This script generates a Rails scaffold based on an existing table](http://github.com/ahe/reverse_scaffold)
> 
> ## Also, read this forum to consider some potential messy things. [Using Ruby on Rails with existing database - Rails - Ruby-Forum](http://www.ruby-forum.com/topic/149050)
> 
> Posted via [http://www.ruby-forum.com/](http://www.ruby-forum.com/).
> 
> –  
> You received this message because you are subscribed to the Google G.  
> “Ruby on Rails: Talk” group.  
> To post to this group, send email to removed\_email\_address@domain.invalid.  
> To unsubscribe from this group, send email to  
> removed\_email\_address@domain.invalid[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
> .  
> For more options, visit this group at  
> [http://groups.google.com/group/rubyonrails-talk?hl=en](http://groups.google.com/group/rubyonrails-talk?hl=en).

–  
With Regards  
Palani Kannan. K  
Office: +49-531-2616-226  
Mobile: +4917647098166
