mislav committed changeset [272]
Revision 272,
committed by Chris Wanstrath
· 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]
2 changed files
-
U
will_paginate/lib/will_paginate/finder.rb -
U
will_paginate/test/finder_test.rb