ebryn / ember-model

A lightweight model library for Ember.js
MIT License
524 stars 159 forks source link

Fix record create/save on FixtureAdapter so revert works #368

Open ahacking opened 10 years ago

ahacking commented 10 years ago

This PR allows revert() to work with the FixtureAdapter, and includes unit test.

The current FixtureAdapter does not update _data when performing a create() or save() which leads problems such as revert() not working correctly.