Forum: Ruby on Rails switching to RoR with database

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Anthony W. (Guest)
on 2009-05-15 13:03

I'm trying to figure out how to switch to ruby on rails, but I want to
keep the tables and i do not care about the values inside the tables,
just the schema.

I have export my mysql database to a .sql file but i guess I do not need
to do that.

I just want to tell rails that
i have 3 tables i.e table_one  table_two and table_three
and foreign_id_name in table_one points to table_two's id

any help is appreciated

thank you
Anthony W. (Guest)
on 2009-05-15 13:09

never mind, i ran db:migrate and the schema got created
this is magic!!
This topic is locked and can not be replied to.