Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Sep 17, 2011
Commits on Aug 7, 2011
  1. represent the concept of page number with the PageNumber class

    authored
    It handles validation of numbers and calculating the offset value.
Commits on Aug 2, 2011
  1. refactor page number checking, add offset validation

    authored
    Raise WP::InvalidPage exception on offset values larger than SQL's BIGINT
    
    references #115
Commits on Jul 28, 2011
  1. Merge branch 'rails3'

    authored
    will_paginate is no longer compatible with Rails versions older than 3.0,
    so throw the old garbage out
Commits on Jan 22, 2010
Commits on Feb 9, 2009
  1. Removed all unnecessary &block variables since they cause serious mem…

    Darrick Wiebe authored
    …ory damage and lots of subsequent gc runs.
Commits on Jan 12, 2009
Commits on Aug 13, 2008
Commits on Apr 4, 2008
  1. doc love all around

    authored
  2. Rename WillPaginate::Collection#page_count to #total_pages for consis…

    authored
    …tency. If you implemented this interface, change your implementation accordingly.
Commits on Apr 3, 2008
  1. Add paginated_each method for faking cursors. [Rick Olson]

    authored
    Changed that count is skipped when 0 records are returned on page 1.
Commits on Apr 1, 2008
  1. don't require 'will_paginate' in will_paginate/collection.rb, which e…

    authored
    …nables loading of WillPaginate::Collection in 3rd-party code without having to load all of WillPaginate
Commits on Dec 25, 2007
  1. Will Paginate now has the option to disable rendering of page links (…

    mislav authored
    …only previous/next remain) or the DIV container (if the user is rolling out his own markup). [#22 state:resolved]
    
    git-svn-id: svn://errtheblog.com/svn/plugins/will_paginate@426 1eaa51fe-a21a-0410-9c2e-ae7a00a434c4
  2. Will Paginate Christmas doc love

    mislav authored
    git-svn-id: svn://errtheblog.com/svn/plugins/will_paginate@425 1eaa51fe-a21a-0410-9c2e-ae7a00a434c4
Commits on Dec 23, 2007
  1. Will Paginate now frowns on invalid input for page number! WillPagina…

    mislav authored
    …te::InvalidPage error is raised if you pass an invalid string, zero or negative number as :page parameter.
    
    git-svn-id: svn://errtheblog.com/svn/plugins/will_paginate@421 1eaa51fe-a21a-0410-9c2e-ae7a00a434c4
Commits on Oct 19, 2007
  1. WillPaginate::Collection#replace now returns the result of supercall.…

    mislav authored
    … [Elijah Miller] [#131 status:resolved]
    
    git-svn-id: svn://errtheblog.com/svn/plugins/will_paginate@409 1eaa51fe-a21a-0410-9c2e-ae7a00a434c4
Commits on Oct 7, 2007
  1. Will Paingate dox spellcheck ftw

    mislav authored
    git-svn-id: svn://errtheblog.com/svn/plugins/will_paginate@405 1eaa51fe-a21a-0410-9c2e-ae7a00a434c4
  2. Will Paginate: more dox for WP::Collection, people seem to use it a lot

    mislav authored
    git-svn-id: svn://errtheblog.com/svn/plugins/will_paginate@404 1eaa51fe-a21a-0410-9c2e-ae7a00a434c4
Commits on Oct 6, 2007
  1. Don't guess total count when the result collection is 0. Introduce a …

    mislav authored
    …helper method on WP::Collection called 'out_of_bounds?' that is true when we're trying to fetch a page that doesn't exist. [#125 status:resolved]
    
    git-svn-id: svn://errtheblog.com/svn/plugins/will_paginate@393 1eaa51fe-a21a-0410-9c2e-ae7a00a434c4
Commits on Sep 27, 2007
  1. Will Paginate lazy counting! Counting is done *after* the SELECT, but…

    mislav authored
    … skipped entirely if Finder figures out that this is the last page. We are talking about saving us trips to the db here. Thanks, Elijah Miller. [#92 state:resolved]
    
    git-svn-id: svn://errtheblog.com/svn/plugins/will_paginate@388 1eaa51fe-a21a-0410-9c2e-ae7a00a434c4
Commits on Jun 14, 2007
  1. Bunch of nice stuff: bugfix, docs, cleanup, test/console.

    mislav authored
      * Don't be a smartass and pretend knowing all about the AR API. Simply allow all options [#37 state:resolved] [Bence Golda]
      * Added tests for some edge cases
      * Improve the documentation, you can now generate it with rake rdoc
      * Cleanup test helper stuff
      * add test/console executable, it loads irb, will_paginate, and all the fixtures
    
    
    git-svn-id: svn://errtheblog.com/svn/plugins/will_paginate@261 1eaa51fe-a21a-0410-9c2e-ae7a00a434c4
Commits on Jun 6, 2007
  1. first_index is renamed to "offset" again, makes more sense. Collectio…

    mislav authored
    …n gets previous/next_page methods which return integer or nil. Small refactoring of will_paginate render code.
    
    git-svn-id: svn://errtheblog.com/svn/plugins/will_paginate@252 1eaa51fe-a21a-0410-9c2e-ae7a00a434c4
Commits on May 28, 2007
  1. Slight finder rewrite (yeah, again ^^). PaginatedCollection is now Co…

    mislav authored
    …llection and no longer only a proxy, but a real Array subclass. That cleans things up quite a bit! I'm clearing the way for more view helpers. Also, SEPARATOR constant is added to act as a default separator for page numbers. Initially it is a single space, which kinda reverts [207] (sorry PJ!).
    
    git-svn-id: svn://errtheblog.com/svn/plugins/will_paginate@235 1eaa51fe-a21a-0410-9c2e-ae7a00a434c4
Something went wrong with that request. Please try again.