Method deprecated or moved
This method is deprecated or moved on the latest stable version.
The last existing version (v1.2.6) is shown here.
last_page()
public
Returns a new Page
representing the last page in
this paginator.
# File actionpack/lib/action_controller/pagination.rb, line 259
def last_page
@last_page ||= self[page_count]
end