Closed jonas-schulze closed 6 years ago
Not sure. Please do investigate. Maybe there is no reason and we just to implement.
Per #523, Arel development is moving to rails/rails.
If this issue is still relevant, please consider reopening it over there. (Note that the Rails repository does not accept feature request issues, and requires reproduction steps that rely on Active Record's documented API.)
The following code is totally fine:
Substitute
And
forOr
and it no longer is. To get a properOr
you have tosub_clauses.reduce(:or)
. Why do they behave differently?