amatsuda/kaminari — pull request #315 by yuki24 (2012-11-27 12:58:04+00:00)
Title: Add the ability to call #num_pages method

This PR is for solving #284.
from version 14.0, Paginator class will get `@options[:total_pages]` instead of `@options[:num_pages]`. Sometimes, this causes NoMethodError so I just pass the same value to `@options[:num_pages]`.

Note that we won't make `num_page` deprecated for now.