Skip to content

Commit

Permalink
note about Sequel
Browse files Browse the repository at this point in the history
  • Loading branch information
mislav committed Aug 2, 2011
1 parent 05fc834 commit 033f9e7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/will_paginate/sequel.rb
Expand Up @@ -2,6 +2,8 @@
require 'sequel/extensions/pagination'

module WillPaginate
# Sequel already supports pagination; we only need to make the
# resulting dataset look a bit more like WillPaginate::Collection
module SequelMethods
def total_pages
page_count
Expand Down

0 comments on commit 033f9e7

Please sign in to comment.