Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

chris committed changeset [258]

Revision 258, committed by Chris Wanstrath · 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.

http://require.errtheblog.com/pl...

2 changed files

  • U will_paginate/lib/will_paginate/finder.rb
  • U will_paginate/test/finder_test.rb