Using Pagy in Padrino app with Datamapper #762
Unanswered
work-wajeeh
asked this question in
Q&A
Replies: 2 comments 1 reply
-
I don't know DataMapper... however you should probably pass the |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thanks for the quick response. Unfortunately passing
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In the ReadMe I can see pagy can be used with any environment and any collection but when trying to set it up, I see this error
This is how I set it up
In Gemfile
gem 'pagy'
then
bundle
in controllers/employee.rb
Seems there's some kind of customisation I've to do to make it working with Datamapper. Is there any guide that I should follow?
Beta Was this translation helpful? Give feedback.
All reactions