Is conversion of dasherised field name to camelcased automatic?


I am about to go crazy here. For some reason ember data just wouldn’t convert the fields properly. Here’s my model definition and returned json. other than id, everything is null…

Reader.UserBook = Model.extend({
  book: belongsTo('book'),
  acceptedAgreement: attr('boolean'),
  statisticsGeneratedAt: attr('number'),
  createdAt: attr('date'),
  updatedAt: attr('date')
  "id": 9,
  "accepted_agreement": true,
  "statistics_generated_at": 1383027372.26629,
  "created_at": "2013-10-29T06:16:12.000Z",
  "updated_at": "2013-10-29T06:16:12.000Z",
  "book_id": 5


BTW, is the following hint from the tutorial still right?

App.Comment = DS.Model.extend({});

App.Post = DS.Model.extend({
  comments: DS.hasMany('comment')
});'post', {
  comments: { embedded: 'always' }

I got the following error when trying to use it:

... has no method 'map'


Ok found the problem. Apparently I was using the latest builds and the guides are now outdated…

So how close is this latest build to the final stable version? There are too many changes between since the last version. I guess ember-data is really not ready for prime time.