title: How can I display all records created by a user?
body: <p>I have a table of users, venues and reviews where a user can have many reviews and a venue has many reviews.</p>
  
  <p>How can I go about displaying all the reviews written by a user on each users show page?</p>
  
  <p>I'm currently displaying the reviews written by users on the associated venue show pages using this bit of code:</p>
  
  <pre><code>&lt;%= render :partial =&gt; 'reviews/review', :collection =&gt; @venue.reviews %&gt;
  </code></pre>
  
  <p>Is it possible to reuse the review partial for this?</p>
  
  <p>Using:</p>
  
  <pre><code>&lt;%= render :partial =&gt; 'reviews/review', :collection =&gt; @user.reviews %&gt;
  </code></pre>
  
  <p>in the user show page gives a undefined method `review_path' error.</p>
  
  <p>Thanks for any help its much appreciated!</p>
  
  <p><b>edit</b></p>
  
  <p><b>Review partial</b></p>
  
  <pre><code>&lt;div class="review"&gt;
  
    &lt;div class="reviewer_details"&gt;
      &lt;div class="reviewer_details_photo"&gt;
        &lt;%= image_tag review.user.avatar.url(:thumb) %&gt;
      &lt;/div&gt;
      &lt;%= review.user.username %&gt;
    &lt;/div&gt;
  
    &lt;div class="review_content"&gt;
      &lt;h2 class="review_partial_title"&gt;&lt;%= link_to review.title, [@venue, review] %&gt;&lt;/h&gt;&lt;br&gt;
      &lt;p&gt;&lt;%= review.rating %&gt;&lt;/p&gt;
    &lt;/div&gt;
  
    &lt;div class="clearall"&gt;&lt;/div&gt;
  &lt;/div&gt;
  </code></pre>