There's Dr. Nic's "magic model generator";

http://github.com/drnic/magic_model_generator

But that hasn't really been updated lately - it doesn't even claim compatibility with Rails 2.0. So it's probably not going to do what you want.

Really though, your best bet is to roll back to the previous version in source control...

And, if you don't have source control, now's a really, really, *really* good time to start. If you're on Windows (which I'd guess based on the ISO-8859 headers in your mail), this is the simplest package to get up and running:

http://code.google.com/p/msysgit/

On other OSes, you may already have git installed, or your package management system should be able to sort you out.

Hope this helps,

--Matt Jones

On Jul 27, 2010, at 7:08 PM, Arthur Baldwin wrote:

What if I really messed up all the rails files and want to recreate ALL of the rails files using an existing MySQL database. Is there some command I can use to take a "best guess" at what tables are related to each other and how they are related?

Arthur


--
You received this message because you are subscribed to the Google Groups "Hobo Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to [email protected] . For more options, visit this group at http://groups.google.com/group/hobousers?hl=en .

--
You received this message because you are subscribed to the Google Groups "Hobo 
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/hobousers?hl=en.

Reply via email to