title: Ember todos: an Ember.CollectionView's content must implement Ember.Array
body: <p>I'm trying to get my head around Ember and going through the todos tutorial.  I get stuck on the displaying-model-data step here
  <a href="http://emberjs.com/guides/getting-started/displaying-model-data/" rel="nofollow">http://emberjs.com/guides/getting-started/displaying-model-data/</a></p>
  
  <p>here's the javascript i copied and pasted from the tutorial:</p>
  
  <pre><code>window.Todos = Ember.Application.create();
  
  Todos.Router.map(function () {
    this.resource('todos', { path: '/' });
  });
  
  Todos.TodosRoute = Ember.Route.extend({
    model: function () {
      return Todos.Todo.find();
    }
  });
  
  Todos.Store = DS.Store.extend({
    revision: 12,
    adapter: 'DS.FixtureAdapter'
  });
  
  Todos.Todo = DS.Model.extend({
    title: DS.attr('string'),
    isCompleted: DS.attr('boolean')
  });
  
  Todos.Todo.FIXTURES = [
    {
      id: 1,
      title: 'Learn Ember.js',
      isCompleted: true
    },
    {
      id: 2,
      title: '...',
      isCompleted: false
    },
    {
      id: 3,
      title: 'Profit!',
      isCompleted: false
    }
  ];
  </code></pre>
  
  <p>Then here's my handlebars template:</p>
  
  <pre><code>...
            {{#each controller}}
              &lt;li&gt;
                &lt;input type="checkbox" class="toggle"&gt;
                &lt;label&gt;{{title}}&lt;/label&gt;&lt;button class="destroy"&gt;&lt;/button&gt;
              &lt;/li&gt;
            {{/each}}
  </code></pre>
  
  <p>And yet I get this error</p>
  
  <pre><code>Uncaught Error: assertion failed: an Ember.CollectionView's content must implement Ember.Array. You passed &lt;(generated todos controller):ember257&gt; 
  </code></pre>
  
  <p>It looks to me like whatever default controller object Ember generates should be of type Ember.Array but it is not happening for some reason.  I am wondering if it is a problem with ember-data?</p>
  
  <p>I am using all the files from the starter kit which are
  ember 1.0.0 rc5
  handlebars 1.0.0 rc4
  jquery 1.9.1
  and ember-data, the only versioning indication i can tell is from a comment</p>
  
  <pre><code>// Last commit: 3981a7c (2013-05-28 05:00:14 -0700)
  </code></pre>
  
  <p>Is there a dependency problem someone knows about or did I do something wrong?</p>