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
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
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs