title: Setting ID of object when importing seed data from JSON file in Rails
body: <p>I'm importing objects in my seeds file from a json file like this:</p>
  
  <pre><code>[
  {
      "email":"jon@a.com",
      "id":1,
      "league_id":1,
      "name":"Slim Jims are good for the heart...OH YEAH!",
      "owner":"Jon"
  },
  {
      "email":"robert@a.com",
      "id":2,
      "league_id":1,
      "name":"The Bucket List",
      "owner":"Robert"
  }
  ]
  </code></pre>
  
  <p>my seeds file is:</p>
  
  <pre><code>require 'json'
  Team.delete_all
  JSON.parse(open("#{Rails.root}/doc/teams.json").read).each do |stuff|
     Team.create(stuff)
  end
  </code></pre>
  
  <p>My problem is that it assigns some random id instead of the id from the json file. </p>