title: Can't access to elements of a hash after getting them from a csv
body: <p>I have a cvs and I want to access the values. If I do this:</p>
  <pre><code>    require 'csv'   
      CSV.foreach(filename, headers: true) do |row|
        new_row = row.to_hash
        puts &quot;#{new_row}&quot;
      end
  </code></pre>
  <p>This is the result -&gt; <code>{&quot;user_id&quot;=&gt;&quot;111&quot;, &quot;sport&quot;=&gt;&quot;aaa&quot;}</code></p>
  <p>But if I do this nothing gets printed</p>
  <pre><code>    require 'csv'   
      CSV.foreach(filename, headers: true) do |row|
        new_row = row.to_hash
        puts &quot;#{new_row[&quot;user_id&quot;]}&quot;
      end
  </code></pre>
  <p>Why is this? How can I get the info?</p>