amatsuda/kaminari — pull request #366 by moiristo (2013-03-12 21:05:44+00:00)
Title: last? should return true if page is out of range

Like in /lib/kaminari/models/page_scope_methods.rb#last_page? (l48),
last? should return true if the page is out of range. This prevents that
the paginator keeps rendering 'Next page' links when a page is requested
that is out of range.