title: How can I render a child partial inside its parents partial?
body: <p>I have tables of venues, reviews and comments where a venue can have many reviews and a review can have many comments.</p>
  
  <p>The reviews themselves are shown as partials on the venues show page using:</p>
  
  <pre><code>&lt;%= render :partial =&gt; 'reviews/review', :collection =&gt; @venue.reviews %&gt;
  </code></pre>
  
  <p>I thought using this:</p>
  
  <pre><code>&lt;%= render :partial =&gt; 'comments/comment', :collection =&gt; @review.comments %&gt;
  </code></pre>
  
  <p>inside the review partial would succesfully show the comments for that particular review but its just not displaying anything and giving no errors.</p>
  
  <p>using <code>&lt;%= review.comments.count %&gt;</code> in the review partial does correctly show the number of comments added and checking the comments records in the console shows they have the correct foreign keys.</p>
  
  <p>Any help is much appreciated!</p>