# Ember js cloning record with relations

**URL:** <https://discuss.emberjs.com/t/ember-js-cloning-record-with-relations/7686>\
**Category:** Uncategorized\
**Created:** [April 1, 2015, 6:26am UTC](https://discuss.emberjs.com/t/ember-js-cloning-record-with-relations/7686 "2015-04-01T06:26:53Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Leeft](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.emberjs.com/leeft/32/10094_2.png) [@Leeft](https://discuss.emberjs.com/u/Leeft)\
**Post date:** [April 1, 2015, 9:21pm UTC](https://discuss.emberjs.com/t/ember-js-cloning-record-with-relations/7686/3 "2015-04-01T21:21:16Z")

</div>

Have a look at BufferedProxy:

> [@Disable bindings until object is saved](http://discuss.emberjs.com/t/disable-bindings-until-object-is-saved/5720):
>
> Hi - I think this is a simple task, but I haven’t found a simple solution. I have a row of objects. You can edit an individual object and the bindings show you real time updating. That’s cool - however, what if I DON’T want to show the updates until the user Saves the object? I’ve seen stuff from googling on BufferedProxy but that seems like a TON of work just to hide the state change until it’s committed. I also thought about trying to duplicate/copy the object, modify it, then save it overt…

> [@How to track and rollback relationships?](http://discuss.emberjs.com/t/how-to-track-and-rollback-relationships/6256/4):
>
> I have just done something similar but for a hasMany, I’ve put up the basics here in case it helps anyone else out: [https://gist.github.com/kevinansfield/006e403e9429cb04e608](https://gist.github.com/kevinansfield/006e403e9429cb04e608) I’m definitely interested to see if there are better solutions out there. @workmanw: That “BufferProxy” looks interesting, have you run into any issues with it?

> [@Undo and revert functionality ember data](http://discuss.emberjs.com/t/undo-and-revert-functionality-ember-data/2984):
>
> Does anyone have any clear examples of implementing an “undo” pattern with Ember Data? Is there a straightforward way to reset the state of a record after it is in the isDirty state? How do people manage the change events and undo history? Is there something built in to handle this? A glance at the API docs does not look like there is. And reload is claimed to not work once a record isDirty. reload Reload the record from the adapter. This will only work if the record has already finished lo…

---

_[View the full topic](https://discuss.emberjs.com/t/ember-js-cloning-record-with-relations/7686)._
