We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
<%= smart_listing.paginate %> Resulted in wrong number of arguments (given 2, expected 1)
in wrong number of arguments (given 2, expected 1)
TRACE: [kaminari-core (1.2.2) lib/kaminari/helpers/helper_methods.rb:116:in `paginate']
[smart_listing (1.2.3) app/helpers/smart_listing/helper.rb:49:in `paginate']
The text was updated successfully, but these errors were encountered:
looks like since ruby 3, a ** is needed in front of the options dictionary:
@template.paginate @smart_listing.collection, **{:remote => @smart_l...
Sorry, something went wrong.
any update on this issue? I'm running into the same thing
What dannyvanhoof said above BUT I would abandon this kind of gems.
No branches or pull requests
<%= smart_listing.paginate %>
Resulted
in wrong number of arguments (given 2, expected 1)
TRACE:
[kaminari-core (1.2.2) lib/kaminari/helpers/helper_methods.rb:116:in `paginate']
[smart_listing (1.2.3) app/helpers/smart_listing/helper.rb:49:in `paginate']
The text was updated successfully, but these errors were encountered: