mislav committed changeset [272]

June 20th, 2007 @ 09:33 PM

Will Paginate: the ":page" option is now required for all paginating finders!! Its value can still be nil (it defaults to 1), but its presence is required or an ArgumentError is raised. This is because people forget to write ":page => params[:page]" in their controllers when calling paginating finders, so they get confused why are they stuck on the same page all the time. [#38 state:resolved]

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

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