Skip to content
This repository was archived by the owner on Apr 17, 2018. It is now read-only.
This repository was archived by the owner on Apr 17, 2018. It is now read-only.

Model.find is useless #1

@knowtheory

Description

@knowtheory

Model.find only takes one of 4 arguments right now: an id, :first, :last, or :all. If passed another argument (such as a hash), it simply returns nil.

The find method should either throw an error if it doesn't get it's expected input, or it should be expanded to map more of ActiveRecord's finder syntax onto DataMapper.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions