-
-
Notifications
You must be signed in to change notification settings - Fork 263
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
The fix for RedundantActiveRecordAllMethod::AllowedReceivers in 2.22.1 doesn't work #1173
Labels
bug
Something isn't working
Comments
koic
added a commit
to koic/rubocop-rails
that referenced
this issue
Oct 31, 2023
…thod` cop Fixes rubocop#1173. This PR fixes an error for `Rails/RedundantActiveRecordAllMethod` cop when using RuboCop 1.51 or lower.
9 tasks
koic
added a commit
to koic/rubocop-rails
that referenced
this issue
Oct 31, 2023
…thod` cop Fixes rubocop#1173. This PR fixes an error for `Rails/RedundantActiveRecordAllMethod` cop when used with RuboCop 1.51 or lower. Additionally, it introduces a CI matrix for regression testing with the oldest supported RuboCop version.
koic
added a commit
to koic/rubocop-rails
that referenced
this issue
Oct 31, 2023
…thod` cop Fixes rubocop#1173. This PR fixes an error for `Rails/RedundantActiveRecordAllMethod` cop when used with RuboCop 1.51 or lower. Additionally, it introduces a CI matrix for regression testing with the oldest supported RuboCop version.
koic
added a commit
to koic/rubocop-rails
that referenced
this issue
Oct 31, 2023
…thod` cop Fixes rubocop#1173. This PR fixes an error for `Rails/RedundantActiveRecordAllMethod` cop when used with RuboCop 1.51 or lower. Additionally, it introduces a CI matrix for regression testing with the oldest supported RuboCop version.
koic
added a commit
that referenced
this issue
Nov 18, 2023
…ve_record_all_method [Fix #1173] Fix an error for `Rails/RedundantActiveRecordAllMethod` cop
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The module defined in
rubocop-rails/lib/rubocop/cop/rails/redundant_active_record_all_method.rb
Line 179 in 722878a
include
statement fixes the problem.Expected behavior
Rubocop works normally
Actual behavior
An exception is thrown:
Steps to reproduce the problem
RuboCop version
1.50.2
The text was updated successfully, but these errors were encountered: