title: Rails Not Reading a Specific Column from CSV
body: <p>I'm trying to read my CSV file in Rails 5.2.3 (Ruby 2.6.3) and it's not reading a specific column.</p>
  
  <p>CSV file:</p>
  
  <pre><code>barcode,hardware,title,price
  2900007868390,PS4,title1,300
  3499550362923,PS4,title2,1800
  3499550370973,Nintendo Switch,title3,5000
  
  and so on...
  </code></pre>
  
  <p>Code:</p>
  
  <pre class="lang-rb prettyprint-override"><code>csv = CSV.read('path/to/my_csv.csv', headers: true)
  csv.each do |row|
    puts "#{row['barcode']}, #{row['hardware']}, #{row['title']}, #{row['price']}"
  end
  </code></pre>
  
  <p>Result:</p>
  
  <pre class="lang-rb prettyprint-override"><code>, PS4, title1, 300
  , PS4, title2, 1800
  , Nintendo Switch, title3, 5000
  
  and so on...
  </code></pre>
  
  <p>As you can see above, it's not reading the barcode column for some reason.<br>
  I've managed to get the barcode value if I write <code>row[0]</code> instead of <code>row['barcode']</code> .<br>
  Any ideas why this is happening?</p>