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

Alias case nodes #35006

Merged
merged 1 commit into from
Jan 21, 2019
Merged

Alias case nodes #35006

merged 1 commit into from
Jan 21, 2019

Conversation

kddnewton
Copy link
Contributor

When Arel was merged into ActiveRecord we lost the ability to alias case nodes. This adds it back.

When `Arel` was merged into `ActiveRecord` we lost the ability to alias case nodes. This adds it back.
@kamipo kamipo merged commit 3f0c7c5 into rails:master Jan 21, 2019
@rafaelfranca
Copy link
Member

I think the idea is that this node inherit from NodeExpression in this commit but we forgot to do it. rails/arel@2d78e3a#diff-33c3f8d4defca30f863e60a5a420579a. Can you investigate?

@kamipo
Copy link
Member

kamipo commented Jan 21, 2019

oh... good catch.

@kddnewton kddnewton deleted the alias-case-nodes branch January 21, 2019 22:16
@kddnewton
Copy link
Contributor Author

Yeah I can look into pulling this in.

@kddnewton
Copy link
Contributor Author

I've opened a new PR #35046 for this

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

3 participants