title: Remove square brackets and inverted commas from view, rails 3
body: <p>I have an each statement in a view: </p>
  
  <pre><code>&lt;tr&gt;&lt;% @quantity.each do |hash| %&gt;
  &lt;td&gt;&lt;%= hash.map { |key, value| "Channel: #{key} Quantity: #{value} units" } %&gt;
  &lt;/td&gt;&lt;% end %&gt;&lt;/tr&gt;
  </code></pre>
  
  <p>which is rendering on the webpage with square brackets and inverted commas, thus: </p>
  
  <p>["Channel: 1 Quantity: 4675 units"]</p>
  
  <p>["Channel: 2 Quantity: 2864 units"]</p>
  
  <p>The array of hashes that it's looping round is this: </p>
  
  <pre><code>[{2=&gt;2864}, {1=&gt;4675}]
  </code></pre>
  
  <p>How do I stop the [" from showing up on the page? </p>
  
  <p>Thanks! </p>