How to use Ember Data with Nested Resources
问题 My application backend has several resources. A model is exposed for each resource. The entry point to all other resources is through the User model. What I mean is, given a User we can find BlogPost . Given a BlogPost we can find Comments etc. In Ember terminology, we could say: User hasMany BlogPost BlogPost hasMany Comment Comment belongsTo BlogPost By backend exposes REST APIs of the form: GET /api/v1/users/1 GET /api/v1/users/1/blog_posts/1 GET /api/v1/users/1/blog_posts/1/comments/1 I'm