Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix a false positive for Rails/RedundantActiveRecordAllMethod #1126

Commits on Sep 28, 2023

  1. Fix a false positive for Rails/RedundantActiveRecordAllMethod

    Resolves rubocop#1114 (comment)
    
    This PR fixes a false positive for `Rails/RedundantActiveRecordAllMethod`
    when using some `Enumerable`'s methods with block argument.
    
    e.g. `Enumerable#find` and `ActiveRecord::Base#find` have different arguments,
    So false positives can be prevented.
    koic committed Sep 28, 2023
    Configuration menu
    Copy the full SHA
    e586f7f View commit details
    Browse the repository at this point in the history