rails-sqlserver / activerecord-sqlserver-adapter

SQL Server Adapter For Rails
MIT License
968 stars 558 forks source link

Use IN sql instead of OR sql for query constraints #1105

Closed aidanharan closed 9 months ago

aidanharan commented 9 months ago

Fix the SQL to use IN sql instead of OR sql for query constraints. This fixes test preloading belongs_to association SQL in activerecord/test/cases/associations/eager_test.rb.

Changes required after https://github.com/rails/rails/pull/48947