Amokrane Chentir
Amokrane Chentir

Reputation: 30395

What is the best method for integrating an existing database schema into a RoR migration?

So basically I have an existing dump SQL file and I need to integrate it into a new RoR project. So I want to generate the .rb schema file as well as all the classes from the model layer.

How can I do it in Rails 3?

Thank you!

Upvotes: 0

Views: 109

Answers (1)

sandrew
sandrew

Reputation: 3129

May be alexrothenberg/legacy_data or timriley/acts-as-importable github projects will help.

Sorry, I'm new user and can not post links.

Upvotes: 1

Related Questions