Changeset [89cf147e75c856178cc8e93bc00e5b7ff5264b1c] by Mislav Marohnić

August 7th, 2011 @ 05:50 PM

represent the concept of page number with the PageNumber class

It handles validation of numbers and calculating the offset value.
https://github.com/mislav/will_paginate/commit/89cf147e75c856178cc8...

Committed by Mislav Marohnić

  • A lib/will_paginate/page_number.rb
  • A spec/page_number_spec.rb
  • M lib/will_paginate/active_record.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/per_page_spec.rb
New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Everyone's favorite Ruby library for pagination of practically anything!