Existing mySQL schema into Rails Models, migration etc

Issues related to building and deploying Ruby on Rails.
no avatar
addinall
 
Posts: 1
Joined: Sun Mar 21, 2010 3:04 am
Location: Brisbane

Existing mySQL schema into Rails Models, migration etc

by addinall » Sun Mar 21, 2010 3:15 am

Mark Addinall March 20, 2010 at 7:29 pm
Your comment is awaiting moderation.

Not very helpful for me.

rake aborted!

Don’t know how to build task ‘db:schema:to_migration’

Running the rake -T show it is not available.

Is there a way to use an existing mySql database and get it into
a Rails environment easily? I dont care about the data, I just want
the models, migration stuff without doing it all by hand.

I have googled the web for about six hours now, and everything suggested
has not worked. Bummer.

Cheers,
Mark.

This is getting silly.

Return to Ruby on Rails

cron