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
Hey @guillaumebriday, thanks for opening na issue. Unfortunately there's not enough information here to determine what's wrong - the where.not in active record appears to be working correctly. Can you try making a new application that reproduces the bug?
Steps to reproduce
After upgrading from Rails
6.0
to Rails6.1
, I have this error when using a simplewhere.not
.I have no idea why but it seems to be raised at this line: https://github.com/rails/rails/blob/6-1-stable/activerecord/lib/active_record/relation/query_methods.rb#L1097
In my example, the parameter
opts
is equal to:chain
in Rails 6.1 and{:id => 5}
in Rails 6.0. That is why it raises an error.Any idea why? Thanks in advance
Expected behavior
Actual behavior
System configuration
Rails version: 6.1.5
Ruby version: 2.7.6
I'm using
config.autoloader = :classic
I'm not sure if it could have an impact...The text was updated successfully, but these errors were encountered: