title: ember 1.12 findAll issue using rest, pod model over json response
body: <p><strong>I have a Rest adapter right configured and when I try:</strong></p>
  
  <p><strong>router.js</strong></p>
  
  <pre><code>export default Ember.Route.extend({
      model: function() {
          return this.store.find('main.user');
      }
  });
  </code></pre>
  
  <p><strong>I got this:</strong></p>
  
  <blockquote>
    <p>WARNING: Encountered "main.user" in payload, but no model was found
    for model name "mainUser" (resolved model name using
    plezure@serializer:-rest:.typeForRoot("main.user"))</p>
  </blockquote>
  
  <p><strong>Error while processing route:</strong> </p>
  
  <blockquote>
    <p>main.user Assertion Failed: The response from a findAll must be an
    Array, not undefined Error: Assertion Failed: The response from a
    findAll must be an Array, not undefined</p>
  </blockquote>
  
  <p><strong>My Json return:</strong></p>
  
  <pre><code>{
     "main.user": [
        { "id": "1", "name": "foo" },
        { "id": "2", "name": "bar" }
     ]
  }
  </code></pre>
  
  <p><strong>model.js</strong></p>
  
  <pre><code>import DS from 'ember-data';
  
  export default DS.Model.extend({
      name: DS.attr('string')
  });
  </code></pre>
  
  <p>My pod are right configured, everything is fine, all works if I change to the find to a non-pod model, like this (model exists at main/):</p>
  
  <pre><code>export default Ember.Route.extend({
      model: function() {
          return this.store.find('main');
      }
  });
  </code></pre>
  
  <p>But with 'main.user' ember is uncapable to deal with json return, using fixtures pod names works well, it's ony happens on json response.</p>
  
  <p>Anyone have any ideia about this kind of issue?</p>