Guys, In my application I am showing an image with comments. When ever i add new comments i cannot just reload the ID containing the list of comments. It reloads the whole page. Since i am displaying the image in Z index of +1, I want only to upload the comments without disturbing the whole page. Here is what my code looks like. render :update do |page| page[:comment_list].reload :partial => ''list'' end Please help. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
Guys, In my application I am showing an image with comments. When ever i add new comments i cannot just reload the ID containing the list of comments. It reloads the whole page. Since i am displaying the image in Z index of +1, I want only to upload the comments without disturbing the whole page. Here is what my code looks like. render :update do |page| page[:comment_list].reload :partial => ''list'' end Please help. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---