Assuming there are 115 communities.
Then it show 10 communities per page with pagination.
When I’m going to example.com/communities, it shows 10 oldest records.
However, I want it to link to example.com/communities?page=12 as default.
It should be linked to the last page of communities.
Is it possible?
Now my link is just like this
<%= link_to "Communities", communities_path %>
This is possible but you have to add some logic
or you can just reverse the ordering of your query.