If you are using the latest from master from Ember-Rails then the problem is that the vendor files for ember are out of date. The Ember.js in Ember-Rails is at v1.0.pre-279-gb1c0b4c
, and Ember-Data is at 4
. In order to use the current documentation in your code you will need to updated a release of Ember.js and Ember-Data.
You can find a more recent EmberJS file here: EmberJS v1.0.0-pre.2-396-gddb0951 and Ember-Data: Ember-Data v11. Just rename them to match what you have now.
You can see your code with the updated Ember files here: http://jsfiddle.net/seankeating/ZRN23/7/