Sha256: 52a43b22de79150838c31e9844259a0563b8380b2cbc638252dd1a4f42c83b2d

Contents?: true

Size: 345 Bytes

Versions: 2

Compression:

Stored size: 345 Bytes

Contents

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

EmberSerialize.Post = DS.Model.extend
  # ember_serialize:start
  # ember_serialize:async false
  title: DS.attr('string'),
  body: DS.attr('text'),
  authorDude: DS.belongsTo('user',{inverse:'find_existing'}),
  comments: DS.hasMany('comments')
  # ember_serialize:end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ember_serialize-0.0.7 test/dummy/app/assets/javascripts/models/tests/find_existing.js.coffee
ember_serialize-0.0.6 test/dummy/app/assets/javascripts/models/tests/find_existing.js.coffee