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