You can also pass it as a parameter to hobo_index if you need a
different amount for a particular index view.

On Feb 1, 12:30 pm, Matt Jones <[email protected]> wrote:
> On Feb 1, 2010, at 2:22 PM, tomPorter wrote:
>
> > My browsing of the docs imply that you get pagination for free, even
> > with the default generated pages.
>
> > If so, what is the default number of items displayed per page?
>
> You were *almost* there - 30 is the default! It's set by  
> will_paginate, and Hobo pretty much leaves it alone. See the  
> will_paginate docs for info on how to change it; if you want to  
> override it for a single model, you can set the per_page class  
> attribute on that model.
>
> --Matt Jones

-- 
You received this message because you are subscribed to the Google Groups "Hobo 
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/hobousers?hl=en.

Reply via email to