-
-
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
Crash in version 2.21.2 (uninitialized constant RuboCop::Cop::Rails::RedundantActiveRecordAllMethod::AllowedReceivers
)
#1143
Labels
bug
Something isn't working
Comments
Zarthus
changed the title
uninitialized constant
Crash in version 2.21.2 (uninitialized constant Oct 5, 2023
RuboCop::Cop::Rails::RedundantActiveRecordAllMethod::AllowedReceivers
RuboCop::Cop::Rails::RedundantActiveRecordAllMethod::AllowedReceivers
)
Zarthus
added a commit
to Zarthus/rubocop-rails
that referenced
this issue
Oct 5, 2023
Update minimum required rubocop version since 2.21.2 (rubocop#1143)
9 tasks
We also ran into this error. The |
Zarthus
added a commit
to Zarthus/rubocop-rails
that referenced
this issue
Oct 9, 2023
Update minimum required rubocop version since 2.21.2 (rubocop#1143)
koic
added a commit
to koic/rubocop-rails
that referenced
this issue
Oct 26, 2023
…thod` Fixes rubocop#1143. This PR fixes an error for `Rails/RedundantActiveRecordAllMethod` when using RuboCop 1.51 or lower.
9 tasks
koic
added a commit
that referenced
this issue
Oct 27, 2023
…ctive_record_all_method [Fix #1143] Fix an error for `Rails/RedundantActiveRecordAllMethod`
xjunior
added a commit
to powerhome/power-tools
that referenced
this issue
Nov 6, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Expected behavior
No error/crash
Actual behavior
When upgrading from rubocop v2.21.1 to v2.21.2 we run into an error:
Describe here what actually happened.
Steps to reproduce the problem
I have created a MVP repository: https://gitlab.com/zarthus/reproduce-rubocop-issue (failing logs: https://gitlab.com/zarthus/reproduce-rubocop-issue/-/jobs/5233107356)
RuboCop version
Forcing a downgrade, it works:
Reference material
The text was updated successfully, but these errors were encountered: