title: Rails Seed Data not loading properly after migration
body: <p>I loaded some seed data in using the code below, and it worked fine. Then, I needed to add two more columns, and I did so using the following steps, but it's not attaching the two new columns seed data to the table, what am I doing wrong?</p>
  
  <p>Steps:</p>
  
  <ol>
  <li>Add two columns using migration</li>
  <li>Make them attr_accessible in the model</li>
  <li>Replace old CSV file with new CSV file</li>
  <li>Change the seed.rb file to plug in the new data</li>
  <li>Run rake db:seed</li>
  </ol>
  
  <p>Seed.rb</p>
  
  <pre><code>require 'csv'
  
  Model.delete_all
  CSV.foreach("#{Rails.root}/lib/data/model.csv") do |row|
     Model.create!(:model_number =&gt; row[0], :areq =&gt; row[1], :length =&gt; row[2], :width =&gt; row[3], :depth =&gt; row[4], :material =&gt; row[5], :frame =&gt; row[6], :edge =&gt; row[7], :tubes =&gt; row[8], :tube_length =&gt; row[9])
  end
  </code></pre>
  
  <p>Schema.rb</p>
  
  <pre><code>create_table "models", :force =&gt; true do |t|
    t.string   "model_number"
    t.float    "areq"
    t.float    "length"
    t.float    "width"
    t.float    "depth"
    t.string   "material"
    t.string   "frame"
    t.float    "edge"
    t.datetime "created_at",   :null =&gt; false
    t.datetime "updated_at",   :null =&gt; false
    t.float    "tubes"
    t.float    "tube_length"
  end
  </code></pre>