cayasso/oomvc — Issue #15: Enable destroy() on an instance of a Model
Author: noctivityinc
Created: 2011-10-27 21:54:14+00:00
State: open

Currently there is only a Class level method for destroy on a model:

```
Line.find({ space_id: space.id }, function(res) {
if (res.ok) {
$.each(res.lines, function(index, line) {
Line.destroy(line.id);
});
}
});
```

I would like an instance level method available, so I can do this:

```
Line.find({ space_id: space.id }, function(res) {
if (res.ok) {
$.each(res.lines, function(index, line) {
line.destroy();
});
}
});
```