-
-
Notifications
You must be signed in to change notification settings - Fork 810
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
Fix builds for Rails 7.1.0 #1439
Conversation
f8da5da
to
777a747
Compare
Thanks @yuki24.
|
@jlupox Thanks for pointing that out! It was embarrassingly broken 😅 But it should be fixed now. |
I would recommend just changing this to
Checking for the existence of |
@engineersmnky That didn't work, as it's not always an
|
@engineersmnky The |
Rails 7.1 release is right around the corner, and it would be great if we could get this merged. The tests are all green and the Code Climate check seems trivial (only 1 point of complexity check). |
Looks like it was this morning.. Mind bumping to 7.1? |
@jayshepherd The world moves too fast! Just updated the CI config and this should be good now. |
Is there something we can help with to move this along? Testing? |
Hi there! Any news? |
Hello! I'll try to merge and get a release out this week, thanks for the patience! |
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.
Looks great, thanks!
Hei, I was expecting to release this week as I said, but I realized I'd like to give @scarroll32 a chance to validate what's going in, and leave whatever feedback he has. So I'd let this PR sit for a couple of days in main before releasing. Apologies if I created some false expectations there! New ETA around the middle of next week unless Sean gets to it earlier. @scarroll32 I left a release draft ready in case you want to have a look. There's not much to be released, really. |
Looks good to me, thank you @deivid-rodriguez and @yuki24 |
Awesome, I will release now then. By the way, I sneaked #1447 into the release in the last minute and will include it too! |
Could this be back ported to ransack 3? I'm stuck with ransack 3 until #1403 is resolved |
I'd like to second @iainbeeston request to backport this to ransack 3 as sadly patching 4 proofed insufficient (see my comment) and I'm also waiting on #1403 |
Right now, Ransack fails to execute on Rails 7.1.0beta1 with the error below:
This is because the
table_name
method has been dropped as part of this commit rails/rails@1d98bc5, which has made Rails imcompatible with Ransack.This PR adds a check for the existence of the
table_name
method to restore the compatibility.