title: Handlebars nested objects
body: <p>I am using backbone.js with nested models. The idea being self-contain all attributes of the author as well as to re-use the author model on both posts and comments. At least in theory this makes sense I would think.</p>
  
  <p>However, setting things up like this I've run into a confusion how to retrieve the different values with Handlebars. Handlebars doesn't like being passed objects from what I've read. I can easily retrieve the status in a <code>{{#each}}</code> with <code>{{status}}</code> but naturally doing <code>{{author.name}}</code> won't work.</p>
  
  <p>I've looked at using a Helper, however as you can see I have comments nested inside, that will have another author nested inside. I don't believe helpers inside helpers will work.</p>
  
  <p><strong>This is a sample object pulled from the console of Chrome.</strong></p>
  
  <pre><code>Object {items: Array[2]}
      +items: Array[2]
          +0: Object
              +author: child
                  _changing: false
                  _pending: false
                  _previousAttributes: Object
                  +attributes: Object
                      name: "Amy Pond"
                      profileImage: "Amy.jpg"
                      __proto__: Object
                  changed: Object
                  cid: "c0"
                  __proto__: Surrogate
              comments: child
              id: "50f5f5d4014e045f000001"
              status: "1- This is a sample message."
              __proto__: Object
          +1: Object
              author: child
              comments: child
              id: "50f5f5d4014e045f000002"
              status: "2- This is another sample message."
              __proto__: Object
              length: 2
              __proto__: Array[0]
              __proto__: Object
  </code></pre>
  
  <p>Am I incorrect in my organization, or is there a better way to handle multidimensional data? Or is there a nice way for Handlebars to get to each of the values?</p>
  
  <p>If there is a more powerful templating engine, I'm open options.</p>