last_page()
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