    # File lib/action_controller/pagination.rb, line 221
          def initialize(controller, item_count, items_per_page, current_page=1)
            raise ArgumentError, 'must have at least one item per page' if
              items_per_page <= 0

            @controller = controller
            @item_count = item_count || 0
            @items_per_page = items_per_page
            @pages = {}

            self.current_page = current_page
          end