title: Rails seed JSON ignore some attributes
body: <p>I am using the rails JSON gem to quickly seed my database with JSON data.
  In my seeds.rb file, i have this method</p>
  
  <pre><code>  businessPath = "#{Rails.root}/public/business2.json"
    businesses = JSON.parse(File.read(businessPath))
    businesses.each do |business|
    Business.create!(business)    
  end
  </code></pre>
  
  <p>However, the JSON data I was given as a few extra attributes that I do not want this model to Business to have. When I try to seed it as is, I get this error.</p>
  
  <pre><code>Can't mass-assign protected attributes: schools, categories, neighborhoods, longitude, latitude, type
  </code></pre>
  
  <p>Those are the attributes I don't have in my Business model in Rails that are attributes for each business in the JSON file. Is there a way to ignore those attributes before running Business.create?</p>
  
  <p>Thanks!</p>