Skip to content

Conversation

@ismasan
Copy link
Contributor

@ismasan ismasan commented May 11, 2011

Klass.destroy(instance, callback) and
Klass.save(instance, callback).

No API deprecations. Instance#destroy() and Instance#save() just delegate to class.

Motives: allows me to save a model as part of a different collection, using the target collection's persistance layer.

Tests pass, but no new tests for these class methods.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant