-
Notifications
You must be signed in to change notification settings - Fork 900
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
Rails 5.0/5.1: Update to ancestry 3.0.0+ for rails 5.1 fix #18082
Rails 5.0/5.1: Update to ancestry 3.0.0+ for rails 5.1 fix #18082
Conversation
Rails exists? with empty hash in ancestry 2.2.x was broken by rails PR: 28699 Fixed in ancestry 3.0.0: stefankroes/ancestry@8c43482 Extracted from ManageIQ#18076
@kbrock is going to be really happy about this change 😉 Seems good to me. There are some performance improvements in there as well... Actually, I better make sure that I didn't merge any ancestry patches that should now be removed as a result... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(sorry for the duplicate review... forgot to hit "Request changes" on that last one) |
@NickLaMuro did you want to push changes to remove those patches to my fork? I think it makes sense to have them go together. |
@jrafanie yeah, I can, but it will most likely take a bit of time for me to re-familiarize myself with the changes I made and what now is updated in |
Checked commit jrafanie@4c38f34 with ruby 2.3.3, rubocop 0.52.1, haml-lint 0.20.0, and yamllint 1.10.0 |
#17511 is good (the #17360 is a little redundant. I introduced at least 1/2 of that change to the 3.0 branch of the way I didn't see the advantages to caching Do we want to rewrite this patch to just cache those 2 values (plus the clear part)? |
ok, so this passes tests. Do we know if this is broken or works? |
This passes but fails with the existing patches for ancestry See also: 7be4efc |
This pull request is not mergeable. Please rebase and repush. |
Sorry, I jumped the gun on this one LJ ==> #18164 We needed to tweak I'm also excited with the changes that got back into ancestry |
Rails exists? with empty hash in ancestry 2.2.x was broken by rails PR: 28699
Fixed in ancestry 3.0.0:
stefankroes/ancestry@8c43482
Extracted from #18076