Skip to content

Validation, @attributes[...] vs self[...] #1

@uhgall

Description

@uhgall

BasicModel stores the data in @attributes, which is just a hashtable. That makes it impossible to use the validation features in CouchRest, doesn't it?

Why not make BasicModel a subclass of ExtendedDocument and store the data in self[]?

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