Skip to content

Cached find allows search by nil with unexpected results #11

@liveh2o

Description

@liveh2o

If nil is passed to a cached_find_by_xxx method, a search is performed passing nil. This may result in multiple records being returned, which is problematic because grabbing the first one will most likely not be the record you are expecting.

This might be something that also needs to be addressed in Active Remote, but I figured I post this here first.

// @mmmries @andrew-lewin

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