I am trying to convert Ryan RailsCast to Backbone.js to work with Handlebars and I am stuck in a simple problem.
It seems I can not iterate over the JSON array and show the result. I use these gems in my gemfile
gem 'backbone-on-rails' gem 'handlebars_assets'
In my index.jst.hbs , I have the following:
{{entries.length}} <ul> {{#each entries.models}} <li>{{name}}</li> {{/each}} </ul>
The API call seems to work, as you can see in score 7 in the screenshot. 
However, the contents of each model are not displayed. Here's a view of View (index.js.coffee) and JSON.
class Raffler.Views.EntriesIndex extends Backbone.View template: JST['entries/index'] initialize: ->
JSON:
[ { "created_at":"2012-06-28T18:54:28Z", "id":1, "name":"Matz", "updated_at":"2012-06-28T18:54:28Z", "winner":null }, { "created_at":"2012-06-28T18:54:28Z", "id":2, "name":"Yehuda Katz", "updated_at":"2012-06-28T18:54:28Z", "winner":null }, { "created_at":"2012-06-28T18:54:28Z", "id":3, "name":"DHH", "updated_at":"2012-06-28T18:54:28Z", "winner":null }, { "created_at":"2012-06-28T18:54:28Z", "id":4, "name":"Jose Valim", "updated_at":"2012-06-28T18:54:28Z", "winner":null }, { "created_at":"2012-06-28T18:54:29Z", "id":5, "name":"Dr Nic", "updated_at":"2012-06-28T18:54:29Z", "winner":null }, { "created_at":"2012-06-28T18:54:29Z", "id":6, "name":"John Nunemaker", "updated_at":"2012-06-28T18:54:29Z", "winner":null }, { "created_at":"2012-06-28T18:54:29Z", "id":7, "name":"Aaron Patterson", "updated_at":"2012-06-28T18:54:29Z", "winner":null } ]