# Belongs to relationship nulls out belongs to id on save

**URL:** <https://discuss.emberjs.com/t/belongs-to-relationship-nulls-out-belongs-to-id-on-save/7281>\
**Category:** Ember Data\
**Created:** [February 10, 2015, 3:23am UTC](https://discuss.emberjs.com/t/belongs-to-relationship-nulls-out-belongs-to-id-on-save/7281 "2015-02-10T03:23:42Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![varblob](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.emberjs.com/varblob/32/10304_2.png) [@varblob](https://discuss.emberjs.com/u/varblob)\
**Post date:** [February 10, 2015, 8:07pm UTC](https://discuss.emberjs.com/t/belongs-to-relationship-nulls-out-belongs-to-id-on-save/7281/4 "2015-02-10T20:07:36Z")

</div>

In case anyone else thinks of monkey patching this to work BEWARE it causes the loading of the belongs to record to get mucked up [Recursive Sideloading](http://discuss.emberjs.com/t/recursive-sideloading/7283)

I really do wish I knew the correct way to accomplish this task. My current solution is to create a new record with just the ID on it and store that but it seems pretty wrong, not to mention it will probably break something else later.

---

_[View the full topic](https://discuss.emberjs.com/t/belongs-to-relationship-nulls-out-belongs-to-id-on-save/7281)._
