This method is deprecated or moved on the latest stable version. The last existing version (v1.2.6) is shown here.
last_item()
Returns the number of the last item displayed.
# File actionpack/lib/action_controller/pagination.rb, line 334 def last_item [@paginator.items_per_page * @number, @paginator.item_count].min end