mislav committed changeset [388]
September 26th, 2007 @ 06:08 PM
Will Paginate lazy counting! Counting is done after the SELECT, but 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]
Committed by Chris Wanstrath
- U will_paginate/lib/will_paginate/collection.rb
- U will_paginate/lib/will_paginate/core_ext.rb
- U will_paginate/lib/will_paginate/finder.rb
- U will_paginate/test/finder_test.rb
- D will_paginate/test/fixtures/companies.yml
- D will_paginate/test/fixtures/company.rb
- U will_paginate/test/fixtures/schema.sql
- U will_paginate/test/fixtures/topic.rb
- U will_paginate/test/helper.rb
- U will_paginate/test/pagination_test.rb
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป