You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An error occurred while Rails/WhereNot cop was inspecting test.rb:1:0.
undefined method `source' for nil:NilClass
/Users/bquorning/.gem/ruby/3.2.2/gems/rubocop-rails-2.23.0/lib/rubocop/cop/rails/where_not.rb:49:in `block in on_send'
/Users/bquorning/.gem/ruby/3.2.2/gems/rubocop-rails-2.23.0/lib/rubocop/cop/rails/where_not.rb:69:in `where_method_call?'
/Users/bquorning/.gem/ruby/3.2.2/gems/rubocop-rails-2.23.0/lib/rubocop/cop/rails/where_not.rb:41:in `on_send'
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: