Hi, I am trying to update a paginated collection of photo objects after a form_tag_remote call. I have a partial that renders the collection, and then executes will_paginate on the updated collection. When the page is first rendered, and I look at the source, and the pagination links appear correct: i.e. <a href="/photos?page=2">2</a> However, once I have added an object to the collection, when will paginate is called on the updated collection, the links have this format: <a href="/photos/[action called by form_remote_tag]?[serialized params hash for form_remote_tag call]">2</a> I assume that this is because will_paginate uses the name of the action to determine which to call? Why does it insert the old params hash into the link...? Thank you. -- 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?hl=en -~----------~----~----~----~------~----~------~--~---