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.
In my project, I have a bunch of sequel models and other custom defined models. One of the custom models has a
savemethod 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_changesmethod is available for that model.