<NME> sequel.rb
<BEF> # encoding: utf-8

module Rango
  module Pagination
    module Sequel
      module Dataset
        # @since 0.2.2
        def paginate(current = 1, per_page = Page.per_page, options = Hash.new)
          current = 1 if current.nil?
          page = Page.new(current: current, count: self.count, per_page: per_page)
          return page, limit(per_page, (current - 1) * per_page)
        end
          page = Page.new(current: current, count: self.count, per_page: per_page)
          dataset = options ? self.filter(options) : self
          return page, dataset.limit(per_page, (current - 1) * per_page)
        end
      end
    end
  end
end

Sequel::Dataset.send(:include, Rango::Pagination::Sequel::Dataset)

<MSG> Fixed an issue where we get current page as a number rather than a string

<DFF> @@ -6,7 +6,7 @@ module Rango
       module Dataset
         # @since 0.2.2
         def paginate(current = 1, per_page = Page.per_page, options = Hash.new)
-          current = 1 if current.nil?
+          current = current ? current.to_i : 1 # current can be nil or "1"
           page = Page.new(current: current, count: self.count, per_page: per_page)
           return page, limit(per_page, (current - 1) * per_page)
         end

Fixed an issue where we get current page as a number rather than a string