js/libs/ember-data.js
function(type, filter) {
    var array = DS.FilteredRecordArray.create({
      type: type,
      content: Ember.A(),
      store: this.store,
      manager: this,
      filterFunction: filter
    });

    this.registerFilteredRecordArray(array, type, filter);

    return array;
  }
function(type, filter) {
    var array = DS.FilteredRecordArray.create({
      type: type,
      content: Ember.A(),
      store: this.store,
      manager: this,
      filterFunction: filter
    });

    this.registerFilteredRecordArray(array, type, filter);

    return array;
  }
Create a `DS.FilteredRecordArray` for a type and register it for updates.

@method createFilteredRecordArray
@param {Class} type
@param {Function} filter
@return {DS.FilteredRecordArray}