amatsuda/kaminari — pull request #302 by arkangel (2012-10-23 02:00:18+00:00)
Title: Explicit integer conversion of page number

Kaminari paginate method might be passed an object with page numbers represented as string (objects not generated from kaminari page scopes and paginate_array). This ensures that page numbers are properly handled as integers.