Skip to content

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

@joeybaker

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.

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