Sha256: c920bcdc0eee2e772e0a7ae7db0f1cf57b6ff0b3ab5e29690240cac52f5deabc

Contents?: true

Size: 370 Bytes

Versions: 5

Compression:

Stored size: 370 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
  id: DS.attr('integer'),
  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

5 entries across 5 versions & 1 rubygems

Version Path
ember_serialize-0.0.5 test/dummy/app/assets/javascripts/models/tests/find_existing.js.coffee
ember_serialize-0.0.4 test/dummy/app/assets/javascripts/models/tests/find_existing.js.coffee
ember_serialize-0.0.3 test/dummy/app/assets/javascripts/models/tests/find_existing.js.coffee
ember_serialize-0.0.2 test/dummy/app/assets/javascripts/models/tests/find_existing.js.coffee
ember_serialize-0.0.1 test/dummy/app/assets/javascripts/models/tests/find_existing.js.coffee