importing mysql table

i got ruby and mysql configured successully on my windows pc.

Im using mysql as default db. so I created new rails project.

I ran the cmd

rake db:create:all

rake db:migrate

so I got the db created. I have existing db of country table. I imported it to the development db.

question:

is there some files I need to modify so my ror apps will know about my country table?

i’m trying to display for instance state is US from the country table. Im new to ror and its cool, i love it. thanks for the help or guidance if I’m not doing something right.

i got ruby and mysql configured successully on my windows pc.

Im using mysql as default db. so I created new rails project.

I ran the cmd rake db:create:all rake db:migrate

so I got the db created. I have existing db of country table. I imported it to the development db.

question: is there some files I need to modify so my ror apps will know about my country table?

You need to create a model for your table (which should be called countries, rails expects table names to be plural). I suggest working right through a good tutorial such as railstutorial.org, which is free to use online. That will show you the basics of Rails.

Colin