Greg Hauptmann
2006-Sep-01 21:34 UTC
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 -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
Brian Hogan
2006-Sep-01 22:29 UTC
Re: can Pagination be enabled for Scaffold generated views/code?
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) On 9/1/06, Greg Hauptmann <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> > > 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 > > -- > Posted via http://www.ruby-forum.com/. > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
Greg H
2006-Sep-02 02:04 UTC
Re: can Pagination be enabled for Scaffold generated views/code?
ahh, yes I see - thanks Brian On 9/2/06, Brian Hogan <bphogan-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > 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) >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---