Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Backbone.Model.destroy() does not work the same as in Backbone.js #50
In backbone.js if you use model.destroy() on an object it should delete it's reference on the server.
In this environment, it does not properly work.
model.destroy(model); seems to work in a few cases, if you have not created multiple versions of the model via #48
This comment has been minimized.
This comment has been minimized.Show comment Hide comment
maybe im off from what you are describing but i was having this problem until I added the localStorage property to the model as well as the collection like so:
localStorage: new Backbone.LocalStorage("MyStorageCollection")
I was actually getting the "url" is missing error from backbone sync until I did this..