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

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 Biedenharn http://agileconsultingllc.com Rob@AgileConsultingLLC.com