Should :page be a required parameter?
-
Chris Wanstrath
- State changed from open to resolved
(from [272]) 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]
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.