hi all i''ve 2 methods one contains details of posts and i used pagination for that and if i used edit on posts(through gui ) then another method is called and i passed only the post id through javascript . so after editing the post if i click on a button to see all posts it goes to the first method but it shows only the first 10 if i edited the 11th post i want the page to be displayed (i,e; 2nd page if i give per_page=>10) how can i do that please reply -- 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 -~----------~----~----~----~------~----~------~--~---