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
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' ... %>
<%= render :partial => 'shared/foo' ... %>
or wherever _foo.rhtml happens to live.