Join GitHub today
Calling destroy on non persisted model #181
At the moment if I try to call destroy() on a model that is not persisted CanJS will try to send an AJAX request. This works well when a model is persisted.
In order to remove a non-persisted model from a list I need to:
It would be nice if destroy could work transparently for non persisted models. So all that is needed would be: