Skip to content
This repository was archived by the owner on Mar 30, 2022. It is now read-only.
This repository was archived by the owner on Mar 30, 2022. It is now read-only.

AR dynamic finders fail when using symbols #67

@hoverlover

Description

@hoverlover

AR finders like find_by_name :john fail when the squeel gem is installed, but when removed they work just fine. I'm not sure I agree with using a symbol for the value, but Rails allows it. This can cause confusion if a project already has symbols in it's code, and then introduces squeel, only to start getting errors.

I've created a sample project with specs that show the behavior that fails. Let me know if you need anything else.

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