rubocop-rails icon indicating copy to clipboard operation
rubocop-rails copied to clipboard

Rails/FindEach is not safe with gem 'sequel'

Open irmpow opened this issue 4 years ago • 1 comments

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

irmpow avatar Dec 02 '20 14:12 irmpow

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

andyw8 avatar Dec 03 '20 02:12 andyw8