emberjs/data — Issue #17: Metamorph updates multiple models in the store
Author: kamal
Created: 2011-12-29 05:24:53+00:00
State: open

To illustrate the problem, you'll need to save the following HTML and open it up locally in a browser: https://gist.github.com/1532069

1. In the console, create a couple new models

var quux = App.store.create(App.Venue, {name: "Quux"});
var wycats = App.store.create(App.Venue, {name: "wycats"});

2. Click on "Quux".

3. Notice that "wycats" changed to the same value as "Quux". Is this somehow related to #11?

What's weird is the views don't update if I try to update the instance that got returned by `create` in the console:

quux.set("name", "tomdale"); // doesn't update the DOM

But this works

App.venues.objectAt(0).set("name", "tilde");