Generate rails models from an existing database

Hi,

I have used a tool to create a rails conform database, meaning that
all the tables and columns follow the rails conventions. The foreign
keys and relationship tables/columns also exist.

Now I would like to generate all the models from this existing
database at once. It would be great to automatically create the
controllers and views, too - to have simple but functional CRUD
application.

How do I do that - at once?

Fritz

On Sep 1, 2008, at 3:37 PM, [email protected] wrote:

How do I do that - at once?

Fritz

You could search for “magic models” by Dr. Nic. I don’t know if it
generates the models or just lets you have “empty” model classes and
figures out the associations on-the-fly.

-Rob

Rob B. http://agileconsultingllc.com
[email protected]

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs