title: Iterate object in Handlebars template
body: <p>How can I iterate over an object in a handlebars template within an Ember app?</p>
  
  <pre><code>&lt;div class="alert alert-danger"&gt;
    &lt;strong&gt;We couldn't create this Company.&lt;/strong&gt;
    {{#each errors}          
      &lt;p&gt;{{this}}&lt;/p&gt;
    {{/each}}
  &lt;/div&gt;
  
  console.log(response.errors);
  
  Object {0: "Name can't be blank", 1: "Zip code can't be blank", 2: "Company type can't be blank", 3: "Address line can't be blank", 4: "Country can't be blank", 5: "State can't be blank"}
  </code></pre>
  
  <p>The error I get in console is:</p>
  
  <blockquote>
    <p>Uncaught Error: Assertion Failed: The value that #each loops over must
    be an Array. You passed {0: Name can't be blank, 1: Zip code can't be
    blank, 2: Company type can't be blank, 3: Address line can't be blank,
    4: Country can't be blank, 5: State can't be blank}</p>
  </blockquote>
  
  <p>Any suggestions?</p>