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.
current_page()
public
Returns a Page object
representing this paginator’s current
page.
# File actionpack/lib/action_controller/pagination.rb, line 247
def current_page
@current_page ||= self[@current_page_number]
end