Hello there,
This is my first post, here it goes.
I’m unsure if there’s a problem with Ember-Datas’s Adapter when deserializing, the EmberEmbeddedRecord Mixin or if it’s me being a novice.
I setup a fiddle here JS Bin - Collaborative JavaScript Debugging where there are two models where the following problem occurs.
ModelA and ModelB belongTo eachother.
Now when I first create them with this.store.createRecord(…) there’s no problem everything is bound, works like a charm etc.
As soon as I press the Save Models button as you will see I return a mockajax (maybe the response format is wrong) but the association ModelA has with ModelB disappears, but ModelB has it for ModelA.
To view it with Ember Inspector you can visit Ember Starter Kit
Any ideas?
Thanks in advance for the help!