I have a rails model called County that has 5 columns of data for different population attributes for that county. There is a record in the counties
table for each county in the US. I now need to add additional county level data to meet a new need. The counties table will get an additional 10 or so rows for numeric population data (breakdown by race and ethnicity). I currently have the data in a .csv file, ready to go.
How do I seed the new data into the existing model such that I fill in the county specific information for each county in the database? Can this be done with rake db:seed
?