railsfid-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2007-Aug-07 15:56 UTC
proper database setup/import
Excuse my newbiness I am just learning Ruby/Rails. What way would be correct or is there another way? Lets say I have a single excel file of cities, counties, states that I want to import into mysql for a Rails project. Do I import each category (city, county, state) into separate tables or all into one table? I guess I would need to know the proper way to do this in order to create the has_many relationships. I also want to maintain the relationships that exist in the excel file such as what city is in what county. Thanks in advance --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---