Skip to content

Suggestion: don't divide .where.not into two lines #341

Open
@ydakuka

Description

@ydakuka

I treat where.not as a single method, so I suggest not to divide it into two lines.

# bad
User.where
    .not(id: [1, 2, 3])
    .ids

# good
User.where.not(id: [1, 2, 3])
    .ids

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