Can Pagination be enabled for Scaffold generated views/code?

Hi all,

Anyone know if there is a what to including Pagination by default when
you are creating code via the Scaffold mechanism?

i.e. would automatically put in default pagination code in *.rb’s and
*.rhtml’s for you then.

Thanks

It does that by default. It’s been doing that since Rails 1.0 I
believe…
I actually wish you could turn it off

Seriously… ruby script\generate scaffold User user

Should generate the list actions with paginated records (10 at a time)

ahh, yes I see - thanks Brian