-
-
Notifications
You must be signed in to change notification settings - Fork 261
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
Rails/WhereNot raises an error #1221
Labels
bug
Something isn't working
Comments
bquorning
added a commit
that referenced
this issue
Dec 19, 2023
Fix an exception in `Rails/WhereNot` when calling `.where` on an implicit receiver (e.g. inside model code). Fixes #1221
bquorning
added a commit
that referenced
this issue
Dec 19, 2023
Fix `Rails/WhereNot` which raised an exception when calling `.where` on an implicit receiver (e.g. inside model code).
9 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Expected behavior
No error.
Actual behavior
An error occurred.
Steps to reproduce the problem
Run the cop against this snippet:
Stacktrace includes
RuboCop version
The text was updated successfully, but these errors were encountered: