Skip to content


deleteRecord for relationships is broken in latest master #836

BowlingX opened this Issue · 1 comment

2 participants


After updating to latest master deleteRecord seems not to work anymore, record is successfully deleted by server but not removed from local array after committing.

I found it this commit is causing this:

if you remove the line, it work's again.

My Use-Case:

removeFavorite: function (forum, fullModel) {
        var mainModel = this.get("controllers.application").get('model');
        var fav = mainModel.get('favorites').find(function (e) {
            return e.get("id") == fullModel.get('favorite_id');
        if (fav) {
  'didDelete', function () {
                fullModel.set('favorite_id', null);


This should be fixed on the latest master.

@igorT igorT closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.