-
Notifications
You must be signed in to change notification settings - Fork 353
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
In Rails 5.2 passing default to #index_name_exists? was removed. #390
Conversation
Hi, could you rebase this branch? There's a few fixes in |
Sure, I will rebase it. Also, I want update update modis gem to work with rails 5.2. But, I need some time for this. |
Let me know if there's anything I can do to move this effort forward. I'd be happy to 👀 or pair on this work 😄 |
Hi, I rebased this branch and now only the tests with Rails 5.2 with fail. Not sure yet what's causing them. |
I think this PR is fine for AR as a backend, since the tests work. But it seems the redis errors are unrelated to that, since they don't use the migrations. Might be worth merging this and working on the redis issue separately. What do you think? |
redis backend broken due broken support of rails 5.2 in gem modis. |
We face the same issue with modis support in rails 5.2 Does anybody have a clue when this can be done? We can't update our rails app from 4.2 to 5.2 because of this issue with modis in rpush |
@soulfly, no idea, sadly. I don't use modis at all. Are there actively maintained alternatives out there we could switch there in case modis does not receive an update? I'm thinking about accepting this PR since it seems to work with ActiveRecord and writing a notice in the README that for now, it doesn't work with ~~~MongoDB~~~ Redis. |
Yes, you're right, I've corrected it in my comment, thanks! |
Sorry for taking so long. I'll have another look and add a notice to the README that Redis support currently doesn't exist for Rails 5.2 with Modis. Hope to get it out soon, thanks for the PR @biow0lf and everyone else for their help! |
In Rails 5.2 passing default to #index_name_exists? was removed.
Changes:
#index_name_exists?
with rails version checkRails 5.2 CLIENT=redis test suit fails. Need some more love. ❤️ I will add more commits for this later in this PR, or open another PR.