Closed blackst0ne closed 6 years ago
/cc @matthewd @rafaelfranca
For clarification: the Rails application in question is GitLab's Rails application.
First first step is trying to find which commit fixed it on 9.0. After that we can backport to the other versions.
I checked locally.
It seems Arel
is not affected, everything is just fine. :thinking:
Checking ActiveRecord...
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.)
First first step is trying to find which commit fixed it on 9.0. After that we can backport to the other versions.
I think this was fixed in 9.0.0
via b416fca3.
I am upgrading a rails 4.2 application to 5.0.
I have some constructions based on arel which stopped working on arel
7.1.4
(rails5.0.6
).I have tested them on these versions:
6.0.4
(rails4.2.10
) works.7.1.4
(rails5.0.6
) doesn't work.8.0.0
(rails5.1.5
) doesn't work.9.0.0
(rails5.2.0
) works.Code (simplified for readability) is this:
What can I do to get my code work again on
7.1.4
and8.0.0
(as I'm going to upgrade to rails 5.1 later)?