HI , I am trying to use a partial inside a partial.Basically i am using ajax support of rails.I am updating a div with partial ,lets say a. Now i want to include a partial b with in a. I am trying this , but the html contents are not displayed. Can any one knows how to do it?? thanks & regards, senthil kumar -- 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 -~----------~----~----~----~------~----~------~--~---
> I am trying to use a partial inside a partial.Basically i am > using ajax support of rails.I am updating a div with partial ,lets say > a. > Now i want to include a partial b with in a. I am trying this , > but the html contents are not displayed. > Can any one knows how to do it??Try specifying the path to your nested partial. I.e. instead of <%= render :partial => ''foo'' ... %> Do this <%= render :partial => ''shared/foo'' ... %> or wherever _foo.rhtml happens to live. Regards, Andy Stewart --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---