This.get('model').addObjects(records); throw excption "Uncaught TypeError: internalModel.getRecord is not a function"

Friends I need help, afrer updating to ember 2.X, my infinite scroll stopped working. On reaching page end, I query store to get new records

 load_more: function(){
 var self = this;
  this.get("store").query("actor",{pg: 1}}).then(function(records) {

    self.get('model').addObjects(records); // this throw excepton 
   
  }
}

this was working perfectlly but now self.get(‘model’).addObjects(records); throw excption “Uncaught TypeError: internalModel.getRecord is not a function” in record-array.js at line 86 “return internalModel && internalModel.getRecord()”. I tried using self.get(‘model’).pushObjects(records) but it also give same error, please help

It looks like this is related to #3313.

Its rather a new issue. The solution suggested in the issue is to use addObject which is actually not working like the OP showed in his snippet.