Computed property bug?


I have two models basket and fruit. basket has fruits. The computed property on doesn’t kick in with Ember 2.1.0.

Here are the gists:

import DS from 'ember-data';
import Ember from 'ember';

export default DS.Model.extend({
  fruits: DS.hasMany('fruit')

import DS from 'ember-data';

export default DS.Model.extend({
  basket: DS.belongsTo('basket'),
  name: DS.attr('string')


fruitList: Ember.computed('basket.fruits.length', '', {
  get: function() {
    return this.get('basket.fruits').map((fruit) => 
      return fruit.get('name');
    }).join(', ');

//adding fruit entries and updating the name in a timeout

afterModel: function (model) {
  let fruits = model.get('fruits'),

  FRUITS.forEach((fruit) => {
    fruitObj ='fruit', {
      name: fruit
  }); {
    //setting the last object name
    fruits.get('firstObject').set('name', 'grapefruit');
    fruitObj.set('name', 'kiwi');
  }, 300);


fruitList gets updated properly(on change of with Ember 2.0, but not with Ember 2.1.

The sample project is here:


It could it be related to this bug - Issue 12475


Thanks, it looks like it.