Skip to content Skip to sidebar Skip to footer

Ember-data "cannot Call Method 'hasownproperty' Of Undefined"

I have the following Ember.js model: Filters.Milestone = DS.Model.extend({ id: DS.attr('string'), name: DS.attr('string') }); In my app.js I have the following settings fo

Solution 1:

The problem was caused by the id attribute in the model. Apparently this should not be part of the model.


Post a Comment for "Ember-data "cannot Call Method 'hasownproperty' Of Undefined""