title: Render Partial Help and Breakdown
body: <p>When a person uses:</p>
  
  <pre><code>&lt;%= render user.posts %&gt;
  </code></pre>
  
  <p>what is happening behind the code that is tells it to search for the partial _post.html.erb and know to pass the a specified user inside the call?</p>
  
  <p>I have seen many example where a partial is called from outside the index, such as:</p>
  
  <pre><code>&lt;%= render partial: "posts", locals: {post: post} %&gt;
  </code></pre>
  
  <p>But that is different from the example above</p>