When I call deleteRecord() on some of my hasMany relationships, Ember Data sends a (successful) DELETE request, but the record is not deleted from the view. I show it with the render helper as follows:
{{render "modules.list" modules}}
Interestingly, the Ember Inspector shows that after deleteRecord() corresponding <App.Module:ember1182:null> object and its parent are null too. However, the parent element still shows the entry in its hasMany (as <App.Module:ember1182:null> ). When I reload the page and then call deleteRecord() , it is removed from the view as expected.
It seems that deleteRecord() not deleteRecord() entry from the hasMany parent array. Oddly enough, this works great in other parts of my code. One of my theories is that this is related to the {render} helper, because wherever I use it I have the same problem, but I'm not sure if this is causing the problem.
I am using the latest ember data assembly ( commit 2511cb1f77 ).
source share