El domingo, 26 de febrero de 2017 5:46:48 (CET) CCH escribió:
> Hi Sergio
> 
> As per https://github.com/activescaffold/active_scaffold/wiki/API:-List
> 
> per_page *global local*
> 
> How many records to show on each page. Set to something ridiculously high
> to effectively disable pagination. Default is 15.
> 
> 
> What is the syntax ?
> 
> 
> This dos not work :
> 
>   conf.per_page=10

You are looking API: List, so syntax is conf.list.per_page

I have updated doc, if you want to disable pagination you can use 
list.pagination = false, no need to use high per_page, it was a very old tip

-- 
You received this message because you are subscribed to the Google Groups 
"ActiveScaffold : Ruby on Rails Gem" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/activescaffold.
For more options, visit https://groups.google.com/d/optout.

Reply via email to