-
Notifications
You must be signed in to change notification settings - Fork 83
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
undefined method `paginate' with rails 6 #53
Comments
I unfortunately cannot recreate your issue. Did you include a |
|
Closing in favour of #54 |
This is breaking in Ruby |
Adding Grape::API::Instance.include(Grape::Kaminari) |
@bsodmike CI looks OK - https://travis-ci.org/github/bsm/grape-kaminari. Could you maybe submit a PR with a test to demo the issue? |
I'm having this same issue after upgrading to Error Message:
In
I tried @bsodmike 's suggestion and no dice :/ Thoughts from anyone? |
@bsodmike , good catch, I clearly missed that part in your initial suggestion 🙃 . After doing this, I don't even need Updating to
which appears to be resolved in ruby-grape/grape#1946 (solved in grape v1.3.1 - I believe base off PR number. I also checked my local gem installation to make sure the method was there.) So that's half solved in my opinion. Not sure why we can't update to the newest |
Oh I see, because the update was for version So what's the proposed solution? |
Please upgrade grape version and grape-kaminari
|
@zaoldreck works like a charm! Many thanks! |
ruby 2.6.6
rails 6.0.2.2
error undefined method `paginate'
Noted:
The text was updated successfully, but these errors were encountered: