Ember.js RC2 deprecation warning: register("store", "main")

ember-data, ember.js

Solution

Installing the newest version of `ember-data.js` and updating the code to:

App = Ember.Application.create();

App.Store = DS.Store.extend({
  revision: 12,
  adapter: 'DS.FixtureAdapter'
});

solves this problem. Thanks @finn-maccool !

Problem

After upgrading to Ember.js RC2 I get the following deprecation warning: `DEPRECATION: register("store", "main") is now deprecated in-favour of register("store:main");` What do I have to change in this minimal app to fix it? ``` App = Ember.Application.create(); App.Store = DS.Store.extend({ revision: 11, adapter: 'DS.FixtureAdapter' }); ```

Original source