Search code examples
ember.jsember-data

Delete created uncommitted record?


I can not figure out how to delete a model created by App.store.createRecord(). Have a look at this fiddle: http://jsfiddle.net/Adw4F/2/ You can delete record loaded from fixtures (or rest adapter), but not created.


Solution

  • Using the very last version of ember-data, and adding a few (ugly|crappy|clumsy) things, I got it working. Obviously not ideal, but working...

    See http://jsfiddle.net/MikeAski/Adw4F/32/