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
Record.where.not(field: ["a","b"]).to_sql
=> "SELECT \"records\".* FROM \"records\" WHERE \"records\".\"field\" NOT IN ('a', 'b')"
Should eventually have the following semantics when the array does not contain the nil value:
Record.where(field: nil).or(Record.where.not(field: ["a","b"])).to_sql
=> "SELECT \"records\".* FROM \"records\" WHERE (\"records\".\"field\" IS NULL OR \"records\".\"field\" NOT IN ('a', 'b'))"
The text was updated successfully, but these errors were encountered:
Should eventually have the following semantics when the array does not contain the nil value:
The text was updated successfully, but these errors were encountered: