Changeset [89cf147e75c856178cc8e93bc00e5b7ff5264b1c] by Mislav Marohnić
Revision 89cf147e75c856178cc8e93bc00e5b7ff5264b1c,
committed 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...
8 changed files
-
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