Ember FilterBy Fun

If you happen to be writing filterBy statements in Ember against an object, you will want to use this syntax:

  skusForStyle: function(style) {
    return this.get('mergedSkus').filterBy('style.id', style.get('id'));
  }

Instead of this similar looking but exceptionally evil and non-functioning cousin:

  skusForStyle: function(style) {
    return this.get('mergedSkus').filterBy('style', style);
  }