chris committed changeset [258]

June 11th, 2007 @ 09:59 PM

  • Add in ability to extract :conditions from custom finders,

so paginate_by_salary will run a count with :conditions => { :salary => blah }

rather than running a count with empty conditions, which returns the wrong

number of rows. May address ticket #31.

Committed by Chris Wanstrath

  • U will_paginate/lib/will_paginate/finder.rb
  • U will_paginate/test/finder_test.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 ยป

Shared Ticket Bins