Skip to content

.detachByModel should revert to model.cid if model.id doesn't exist #30

Description

@joeybaker

In the case that a model doesn't have an id, falling back to the cid (which is guaranteed to be there) would prevent breakage.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions