Closed aqeelvn closed 6 years ago
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.)
I was updating our rails app to
5.2.0
and hencearel
from8.0.0
to9.0.0
The union operation seems to be broken( even though its only deprecated in 9.0.0 ).
Here is an example of what the issue is:
left
andright
are twoActiveRecord
query objects. Individually they work, butleft.union(right)
is breaking now in9.0.0
.As can be seen the generated SQL is invalid at this point: