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
How can I show the total count of the found set. So if I have 900 customers, showing 100 per page, I would like to show "100 of 900 Customers" Thanks!
The text was updated successfully, but these errors were encountered:
Sorry for the poor documentation, but you can use total_count method for the total count (as you might have expected).
total_count
<%= @customers.length %> of <%= @customers.total_count %> Customers
<%= @customers.offset_value + 1 %> - <%= @customers.offset_value + @customers.length %> of <%= @customers.total_count %>
Sorry, something went wrong.
Awesome! Thanks! Love the gem!
No branches or pull requests
How can I show the total count of the found set. So if I have 900 customers, showing 100 per page, I would like to show "100 of 900 Customers" Thanks!
The text was updated successfully, but these errors were encountered: