rubocop / rubocop-rails

A RuboCop extension focused on enforcing Rails best practices and coding conventions.
https://docs.rubocop.org/rubocop-rails
MIT License
811 stars 262 forks source link

Rails/FindEach is not safe with gem 'sequel' #397

Closed irmpow closed 1 year ago

irmpow commented 3 years ago

There is false positive fire of cop Rails/FindEach when gem 'sequel' is used as ORM. versions is sequel (4.49.0) rubocop-rails (2.8.0) Midel.find_each method doesn not implemented by sequel model

andyw8 commented 3 years ago

Yep. Perhaps there needs to be an ORM configuration option.