Sandip Ransing
2009-Jun-08 09:47 UTC
Will Pagination links getting not behaving as i wanted.
Hello All, I have will pagination links in index view which works fine. but when i performing some other action and replacing list view that time pagination links i am supposed to be for index action. but they are not......links goes to last performed action. You have any idea how to fix this problem ? NOTE: i am updating list after creation of resource record that time pagination links goes to create action. I have -- resource comment which is polymorphic in nature. resource post, forum, etc. they have many association with comments, comments_controller where creation and list population is written. Sandip R~ -- Ruby on Rails Developer http://sandip.sosblog.com http://funonrails.wordpress.com www.joshsoftware.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?hl=en -~----------~----~----~----~------~----~------~--~---
Sandip Ransing
2009-Jun-09 07:52 UTC
Re: Will Pagination links getting not behaving as i wanted.
nobody faced this problem ????
The links always point to the current action and append a page parameter. Are you using will_paginate on a non-index view? 2009/6/9, Sandip Ransing <san2821-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>:> nobody faced this problem ???? > > > >-- Von meinen Mobilgerät aus gesendet
Sandip Ransing
2009-Jun-09 09:47 UTC
Re: Will Pagination links getting not behaving as i wanted.
Hi mikezter, Thanks for your reply. Can i override this default url ? How ? Thanks, Sandip R~ On Tue, Jun 9, 2009 at 2:03 PM, mike <mikezter-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > The links always point to the current action and append a page > parameter. Are you using will_paginate on a non-index view? > >-- Ruby on Rails Developer http://sandip.sosblog.com http://funonrails.wordpress.com www.joshsoftware.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?hl=en -~----------~----~----~----~------~----~------~--~---