emberjs/data — Issue #12: TypeError: Object App.Person has no method 'get'
Author: EskiMag
Created: 2011-12-26 19:11:27+00:00
State: open

```javascript
var App = Em.Application.create();

App.Person = DS.Model.extend();
App.Person.reopenClass({
url: '/people?ids=%@'
});

App.serverAdapter = DS.Adapter.create({
find: function(store, type, id) {
var url = type.get('url');
url = url.fmt(id);

$.getJSON(url, function(data) {
store.load(type, id, data);
});
}
});

App.store = DS.Store.create({
adapter: App.serverAdapter
});

App.store.find(App.Person, 1);
```
I wanted to give Ember.js-Data a try, but after executing the code above in Google Chrome console (with jQuery, Ember.js and Ember.js-Data included), this error message appears in console log: `TypeError: Object App.Person has no method 'get'`

I'm not sure If I am doing something wrong, but I used code snippets from the _README.md_ file.