Skip to content

Sequel/SaveChanges too loose #58

@sgiacomel

Description

@sgiacomel

In my project, I have a bunch of sequel models and other custom defined models. One of the custom models has a save method defined and that gets flagged by this cop.
I don't know much about Rubocop Cops yet, but I wonder if there is a way to filter by class or namespace or check that the actual save_changes method is available for that model.

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