{"action":"created","issue":{"url":"https://api.github.com/repos/emberjs/data/issues/2143","labels_url":"https://api.github.com/repos/emberjs/data/issues/2143/labels{/name}","comments_url":"https://api.github.com/repos/emberjs/data/issues/2143/comments","events_url":"https://api.github.com/repos/emberjs/data/issues/2143/events","html_url":"https://github.com/emberjs/data/issues/2143","id":39223823,"number":2143,"title":"Updating record & related records simultaneously does not clean related records.","user":{"login":"flyswatter","id":542863,"avatar_url":"https://avatars.githubusercontent.com/u/542863?v=3","gravatar_id":"","url":"https://api.github.com/users/flyswatter","html_url":"https://github.com/flyswatter","followers_url":"https://api.github.com/users/flyswatter/followers","following_url":"https://api.github.com/users/flyswatter/following{/other_user}","gists_url":"https://api.github.com/users/flyswatter/gists{/gist_id}","starred_url":"https://api.github.com/users/flyswatter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flyswatter/subscriptions","organizations_url":"https://api.github.com/users/flyswatter/orgs","repos_url":"https://api.github.com/users/flyswatter/repos","events_url":"https://api.github.com/users/flyswatter/events{/privacy}","received_events_url":"https://api.github.com/users/flyswatter/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2014-07-31T18:36:19Z","updated_at":"2015-09-16T22:06:28Z","closed_at":null,"body":"Hi, using ember-data beta 8,\r\n\r\nI have a model that I want to save some related models with at the same time.\r\n\r\nI'm currently serializing those objects on the model in a way my server is respecting, but when the response comes back, no matter what `200` or `202` status code I send back, only the main model (the one who the `PUT` url belonged to) is set to clean.  All the related and updated models are left dirty, even when I'm including those updated records in the response.\r\n\r\nWhat is the correct way to tell Ember to check if a response has cleaned some records?"},"comment":{"url":"https://api.github.com/repos/emberjs/data/issues/comments/140908595","html_url":"https://github.com/emberjs/data/issues/2143#issuecomment-140908595","issue_url":"https://api.github.com/repos/emberjs/data/issues/2143","id":140908595,"user":{"login":"wecc","id":708205,"avatar_url":"https://avatars.githubusercontent.com/u/708205?v=3","gravatar_id":"","url":"https://api.github.com/users/wecc","html_url":"https://github.com/wecc","followers_url":"https://api.github.com/users/wecc/followers","following_url":"https://api.github.com/users/wecc/following{/other_user}","gists_url":"https://api.github.com/users/wecc/gists{/gist_id}","starred_url":"https://api.github.com/users/wecc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wecc/subscriptions","organizations_url":"https://api.github.com/users/wecc/orgs","repos_url":"https://api.github.com/users/wecc/repos","events_url":"https://api.github.com/users/wecc/events{/privacy}","received_events_url":"https://api.github.com/users/wecc/received_events","type":"User","site_admin":false},"created_at":"2015-09-16T22:06:28Z","updated_at":"2015-09-16T22:06:28Z","body":"Related: #2786"}}