Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

swap misnamed variables of arel with terms #45250

Merged
merged 1 commit into from
Jun 5, 2022

Conversation

haacs
Copy link
Contributor

@haacs haacs commented Jun 2, 2022

Summary

the recursive and non recursive term variables were misnamed. Now The
naming conforms to the syntax as described in
https://www.postgresql.org/docs/14/queries-with.html#QUERIES-WITH-RECURSIVE
and shows which way around the union of the two terms in the with
statement needs to happen.

Although this does not change how the code runs, it does prevent confusion for the reader.

the recursive and non recursive term variables were misnamed. Now The
naming conforms to the syntax as described in
https://www.postgresql.org/docs/14/queries-with.html#QUERIES-WITH-RECURSIVE
and shows which way around the union of the two terms in the with
statement needs to happen.
@matthewd
Copy link
Member

matthewd commented Jun 5, 2022

Thanks!

@matthewd matthewd merged commit 833033c into rails:main Jun 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants