Changeset [5d26795fe47fbee8211845e260c8c1d0b604be15] by Mislav Marohnić

August 2nd, 2011 @ 01:12 PM

Active Record: enable overriding :total_entries value to avoid a count query

fixes #143
https://github.com/mislav/will_paginate/commit/5d26795fe47fbee82118...

Committed by Mislav Marohnić

  • M lib/will_paginate/active_record.rb
  • M spec/finders/active_record_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!