Skip to content

CouchRest::Model::Embeddable and to_key method #188

Description

@cchavez

Hello all.

I have a form migrated from couchrest 0.34 which edit some CastedModel records, the old CastedModel did not define the method to_key, so it call the to_key method from active model which returns the id wrapped in an array, but now Embeddable module define the to_key method and returns id as is, this break the form.

I understand that active model is expecting and array from to_key method.

any one has saw this issue?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions