Scaffolding - changing number of records per page

People,

This is probably simple but I couldn’t find where to change the default
10 records per page for scaffolding . .

Thanks,

Phil.

Philip R.

Pricom Pty Limited (ACN 003 252 275 ABN 91 003 252 275)
GPO Box 3411
Sydney NSW 2001
Australia
Mobile: +61:(0)411-185-652
Fax: +61:(0)2-8221-9599
E-mail: [email protected]

Philip R. wrote:

People,

This is probably simple but I couldn’t find where to change the default
10 records per page for scaffolding . .

look in the ‘list’ action. The paginate command has a :per_page => 10.

Phil:
On Jan 2, 2006, at 8:45 PM, Philip R. wrote:

This is probably simple but I couldn’t find where to change the
default
10 records per page for scaffolding . .
The paginate method takes a :per_page parameter, which I used to
change the 10-record limit.
Cheers,
Hasan D. [email protected]