Ember data not loading belongsto relationship using fixtures
问题 I am working on a very basic ember app , but I can't seem to get it to display the belongsto model. My user model: News.User = DS.Model.extend({ username: DS.attr('string'), items: DS.hasMany('News.Item') }); News.User.FIXTURES = [ { "id": 1, "username": "Bobba_Fett", "items": [1,2] }] My item model: 'use strict'; News.Item = DS.Model.extend({ title: DS.attr('string'), url: DS.attr('string'), domain: DS.attr('string'), points: DS.attr('number'), comments: DS.hasMany('News.Comment'), user: DS