test/dummy/app/assets/javascripts/models/post.js.coffee in ember_serialize-0.0.5 vs test/dummy/app/assets/javascripts/models/post.js.coffee in ember_serialize-0.0.6
- old
+ new
@@ -1,9 +1,8 @@
# for more details see: http://emberjs.com/guides/models/defining-models/
EmberSerialize.Post = DS.Model.extend
# ember_serialize:start
- id: DS.attr('integer'),
title: DS.attr('string'),
body: DS.attr('text'),
authorDude: DS.belongsTo('user', {async: true}),
comments: DS.hasMany('comments', {async: true})
# ember_serialize:end
\ No newline at end of file