ember data 1.0.x not saving hasMany relationship when bidirectional
问题 One of the hasMany relationships isn't POSTing back to the server. How are you supposed to model a bidirectional relationship? Here are the pertinent objects: Encompass.Selection = DS.Model.extend({ text: DS.attr('string'), submission: DS.belongsTo('submission', {inverse: 'selections'}), }); Encompass.Submission = DS.Model.extend({ shortAnswer: DS.attr('string'), selections: DS.hasMany('selection'), testing: DS.hasMany('folder'), workspaces: DS.hasMany('workspace'), }); and a controller