Sha256: 8fa857e15640e217492eaa260ed9e27958f55e6ef0f6280d4f87d6ea1db91ce8

Contents?: true

Size: 306 Bytes

Versions: 4

Compression:

Stored size: 306 Bytes

Contents

# for more details see: http://emberjs.com/guides/models/defining-models/

EmberSerialize.Comment = DS.Model.extend
  # ember_serialize:start
  id: DS.attr('integer'),
  title: DS.attr('string'),
  body: DS.attr('text'),
  author: DS.belongsTo('user'),
  post: DS.belongsTo('post')
  # ember_serialize:end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ember_serialize-0.0.5 test/dummy/app/assets/javascripts/models/default/comment.js.coffee
ember_serialize-0.0.4 test/dummy/app/assets/javascripts/models/default/comment.js.coffee
ember_serialize-0.0.3 test/dummy/app/assets/javascripts/models/default/comment.js.coffee
ember_serialize-0.0.2 test/dummy/app/assets/javascripts/models/default/comment.js.coffee