Ember: Remove models in one request
问题 I know how to delete multiple models with one line of code: models.invoke('destroyRecord') But this results in x calls voor x items. Is there a way to say in Ember Remove all models with one call, where the ids are submitted as request data ? Of course I can do it by writing my own ajax request models.invoke('deleteRecord'); Ember.$.ajax({ url: ..., type: 'DELETE', data: JSON.stringify( models.map(function(model) { return parseInt(model.get('id')); }) ), contentType: 'application/json' })