Fixed use of where.not with multiple fields
The behavior of this is going to change in Rails 6.1 where.not(a: 1, b: 2) is going to be: WHERE (a != 1 OR b !=2 ) instead of WHERE (a != 1 AND b != 2)
Showing
Please register or sign in to comment