{"action":"created","issue":{"url":"https://api.github.com/repos/firebase/emberfire/issues/364","repository_url":"https://api.github.com/repos/firebase/emberfire","labels_url":"https://api.github.com/repos/firebase/emberfire/issues/364/labels{/name}","comments_url":"https://api.github.com/repos/firebase/emberfire/issues/364/comments","events_url":"https://api.github.com/repos/firebase/emberfire/issues/364/events","html_url":"https://github.com/firebase/emberfire/issues/364","id":132178151,"number":364,"title":"Loss of Data - belongsTo disappearing ","user":{"login":"brendanoh","id":3473461,"avatar_url":"https://avatars.githubusercontent.com/u/3473461?v=3","gravatar_id":"","url":"https://api.github.com/users/brendanoh","html_url":"https://github.com/brendanoh","followers_url":"https://api.github.com/users/brendanoh/followers","following_url":"https://api.github.com/users/brendanoh/following{/other_user}","gists_url":"https://api.github.com/users/brendanoh/gists{/gist_id}","starred_url":"https://api.github.com/users/brendanoh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brendanoh/subscriptions","organizations_url":"https://api.github.com/users/brendanoh/orgs","repos_url":"https://api.github.com/users/brendanoh/repos","events_url":"https://api.github.com/users/brendanoh/events{/privacy}","received_events_url":"https://api.github.com/users/brendanoh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-08T15:47:49Z","updated_at":"2016-02-08T18:13:31Z","closed_at":null,"body":"So I am having an issue for the 2nd time on an Emberfire project. Last time was almost a year ago when I was putting together a meetup preso on building a chat client in Ember and Firebase.\r\n\r\nI have model's with belongsTo relationships and during local debugging the belongsTo keys in forge disappear and my relationship is gone.\r\n\r\nI cannot reproduce it and it feels like it **only seems to happen during heavy local debugging** but it has happened half a dozen times times or so on this recent project so I feel confident it is real and not in my head.\r\n\r\nI have found Angularfire issues posted with potentially similar data loss problems but none in this repo. And they all seem related to use of FB internals that I do not touch.\r\n\r\nI am wondering if anyone else has experience this as it is very frustrating."},"comment":{"url":"https://api.github.com/repos/firebase/emberfire/issues/comments/181506644","html_url":"https://github.com/firebase/emberfire/issues/364#issuecomment-181506644","issue_url":"https://api.github.com/repos/firebase/emberfire/issues/364","id":181506644,"user":{"login":"tstirrat","id":702990,"avatar_url":"https://avatars.githubusercontent.com/u/702990?v=3","gravatar_id":"","url":"https://api.github.com/users/tstirrat","html_url":"https://github.com/tstirrat","followers_url":"https://api.github.com/users/tstirrat/followers","following_url":"https://api.github.com/users/tstirrat/following{/other_user}","gists_url":"https://api.github.com/users/tstirrat/gists{/gist_id}","starred_url":"https://api.github.com/users/tstirrat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tstirrat/subscriptions","organizations_url":"https://api.github.com/users/tstirrat/orgs","repos_url":"https://api.github.com/users/tstirrat/repos","events_url":"https://api.github.com/users/tstirrat/events{/privacy}","received_events_url":"https://api.github.com/users/tstirrat/received_events","type":"User","site_admin":false},"created_at":"2016-02-08T18:13:31Z","updated_at":"2016-02-08T18:13:31Z","body":"Does this happen when you delete a record locally? there is some code that tries to [remove orphan hasMany links](https://github.com/firebase/emberfire/blob/8551d2c248a98c139a5103583ad3875e40cf3c46/addon/adapters/firebase.js#L176-L177) from the server on delete. Could this be it?"}}