ember.js - Router and DS model with belongsTo throws confusing exception -
ember.js - Router and DS model with belongsTo throws confusing exception - my router keeps throwing next exception: error while processing route: study assertion failed: can add together 'location' record relationship error: assertion failed: can add together 'location' record relationship ds models: app.location = ds.model.extend({ street: ds.attr('string'), city: ds.attr('string'), area: ds.attr('string'), lat: ds.attr('string'), lng: ds.attr('string'), report: ds.belongsto('report', {embedded: 'load'}) }); app.report = ds.model.extend({ title: ds.attr('string'), description: ds.attr('string'), reg_num: ds.attr('string'), location_str: ds.attr('string'), location: ds.belongsto('location', {embedded: 'load'}) }); and router: app.reportroute = ember.route.extend({ model: function () { ho...