Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Changeset [05fc8345a28aeb086d927d633436c362ac0d9b7b] by Mislav Marohnić

Revision 05fc8345a28aeb086d927d633436c362ac0d9b7b, committed by Mislav Marohnić · August 2nd, 2011 @ 10:58 PM

refactor page number checking, add offset validation

Raise WP::InvalidPage exception on offset values larger than SQL's BIGINT

references #115
https://github.com/mislav/will_paginate/commit/05fc8345a28aeb086d92...

7 changed files

  • M lib/will_paginate/active_record.rb
  • M lib/will_paginate/array.rb
  • M lib/will_paginate/collection.rb
  • M lib/will_paginate/data_mapper.rb
  • M lib/will_paginate/per_page.rb
  • M spec/collection_spec.rb
  • M spec/finders/active_record_spec.rb