title: Printing properties from an array of hashes to an erb in Rails?
body: <p>I'm new to Ruby on rails and am a bit confused. I have an array of hashes that I parsed through json in a helper:</p>
  
  <pre><code>a = [{"desc"=&gt;"testdesc1", "owner"=&gt;{"url"=&gt;"https://www.example1.com"},
  {"desc"=&gt;"testdesc2", "owner"=&gt;{"url"=&gt;"https://www.example2.com"}]
  </code></pre>
  
  <p>and now I want to display it in my <strong>.erb</strong> like this:</p>
  
  <pre><code>&lt;h3&gt;name (with link to url)&lt;h3&gt;
  &lt;div&gt;desc&lt;/div&gt;
  </code></pre>
  
  <p>I cannot even begin with the first step, which is to parse the array. When I try different variations of the <strong>each</strong> loop they simply print out the full array.
  Is there a straightforward way to do this?</p>