title: Accessing data from recordArray in Ember
body: <p>Let us say i have a model X</p>
  
  <pre><code>  idOfX: DS.attr()
    shouldBeIncluded: DS.attr(),
    type: DS.attr(),
    valueOfX: DS.attr(
  </code></pre>
  
  <p>And I'm trying to fetch all elements of type x using <a href="http://emberjs.com/api/data/classes/DS.Store.html#method_findAll" rel="nofollow noreferrer">findAll</a>/<a href="http://emberjs.com/api/data/classes/DS.Store.html#method_peekAll" rel="nofollow noreferrer">peekAll</a> methods of ember store.</p>
  
  <p>After the store method resolves with data, I want to be able to filter data on <code>type</code> attribute or do some operations using <code>valueOfX</code> attribute.</p>
  
  <p>What is the best way to access these values.</p>
  
  <p>Note: Previously I was accessing <code>record</code> attribute of  <code>internalModel</code> object in recordArray. But with ember data 2.11.x record attribute is null until i explicitly fetch each record with getRecord method. And I don't know why/how that is happening.</p>
  
  <p>Could anyone suggest share thoughts on it?</p>
  
  <p>I'm using ember-cli@2.10.0, ember@2.10.0</p>