abuiles / ember-cli-101-errata

18 stars 4 forks source link

isDirty is deprecated #229

Closed bambery closed 9 years ago

bambery commented 9 years ago

DS.Model record.isDirty() is used at location 1666 and mentioned in a note called "is-attributes" at location 1714 (possibly elsewhere). Since it is deprecated, it's probably best to use the new replacement, record.hasDirtyAttributes()

link to deprecation info: http://emberjs.com/blog/2015/06/18/ember-data-1-13-released.html link to deprecation message on doc: http://emberjs.com/api/data/classes/DS.Model.html#property_isDirty