I'm attempting to use Ember Data with Ember.js version 1.0.0-pre2. The Ember docs on the website say just to download Ember Data from GitHub. This isn't working because Ember Data is trying to call Ember.merge()
which isn't present in the 1.0.0-pre2 release.
Which version combo of Ember and Ember Data am I supposed to be using? I tried using the latest commit from Ember's master branch but it breaks my App's router, so I assume it isn't stable.
Here's a copy of my router that breaks in the latest versions (I believe it was pasted from an Ember code sample):
var App = Ember.Application.create({ });
App.Router = Ember.Router.extend({
enableLogging: true,
root: Ember.Route.extend({
aRoute: Ember.Route.extend({
route: '/',
enter: function(router) {
console.log("entering root.aRoute from", router.get('currentState.name'));
},
connectOutlets: function(router) {
console.log("entered root.aRoute, fully transitioned to", router.get('currentState.path'));
}
})
})
});