title: Where is fixture data in ember.js with cli
body: <p>I'm trying to use fixture data in an ember app generated with cli. I can't find my data. The inspector shows I have a model called post but nothing in it. I'm not sure why it's not working so posting the files that I think are relevant...</p>
  
  <p>models/post.js</p>
  
  <pre><code>var Post = DS.Model.extend({
      title: DS.attr('string'),
      content: DS.attr('string'),
      publishDate: DS.attr('date')
  });
  
  Post.reopenClass({
      FIXTURES: [
          {
              id: 1,
              title: "Writing a blog in Ember",
              content: "I am writting a blog",
              publishDate: "05/22/2104"
          },
          {
              id: 2,
              title: "Writing a blog in Ember",
              content: "I am writting a blog",
              publishDate: "05/22/2104"
          }
      ]
  });
  
  export default Post;
  </code></pre>
  
  <p>router.js</p>
  
  <pre><code>var Router = Ember.Router.extend({
    location: ENV.locationType
  });
  
  Router.map(function() {
      this.resource('posts', { path: '/' });
  });
  
  export default Router;
  </code></pre>
  
  <p>routes/index.js</p>
  
  <pre><code>export default Ember.Route.extend({
      model: function() {
          return this.store.find('post');
      }
  });
  </code></pre>
  
  <p>controllers/posts.js</p>
  
  <pre><code>var PostsController = Ember.ArrayController.extend({
  
  });
  
  export default PostsController;
  </code></pre>
  
  <p>templates/posts.hbs</p>
  
  <pre><code>&lt;p&gt;Test&lt;/p&gt;
  &lt;ul&gt;
      {{#each}}
          &lt;li&gt;
              {{title}}
          &lt;/li&gt;
      {{/each}}
  &lt;/ul&gt;
  </code></pre>
  
  <p>I think this problem is ember-cli specific. I have got fixtures working with Ember App Kit before but want to work with ember-cli. I added and adapter and tried changing the way fixtures were declared:</p>
  
  <p>adapters/post.js</p>
  
  <pre><code>var PostAdapter = DS.FixtureAdapter.extend({});
  
  export default PostAdapter;
  </code></pre>
  
  <p><em>Changed</em> models/post.js</p>
  
  <pre><code>var Post = DS.Model.extend({
      title: DS.attr('string'),
      content: DS.attr('string'),
      publishDate: DS.attr('date')
  });
  
  Post.FIXTURES = [
          {
              id: 1,
              title: "Writing a blog in Ember",
              content: "I am writting a blog",
              publishDate: "05/22/2104"
          },
          {
              id: 2,
              title: "Writing a blog in Ember",
              content: "I am writting a blog",
              publishDate: "05/22/2104"
          }
      ];
  
  export default Post;
  </code></pre>
  
  <p>This still doesn't work. Ember inspector shows posts with correct fields (id, title, content publishDate) but no actual data.</p>