title: Difference between Render and Render Partial and Yield
body: <p>I have read it from the Rails guides, Have looked at Micheal Hartel book and now reading it from Rails View book but still I get confused :(</p>
  
  <p>There is a <code>_footer.html.erb</code>  file so it is a "partial"  and in the code it has written:</p>
  
  <pre><code>&lt;%=render 'layouts/footer' %&gt;
  </code></pre>
  
  <p>so my understanding is that when it sees this, goes and insert the HTML for footer file in here. Ok...
  Now a few pages later it is saying:</p>
  
  <pre><code>&lt;%= render partial: 'activitiy_items/recent' %&gt;
  </code></pre>
  
  <p>so WHY this time we have the word "partial" in here but we didn't have it in the previous one?</p>
  
  <p>And there somewhere else I see <code>&lt;%= yield :sidebar %&gt;</code></p>
  
  <p>So this <code>yield</code> also insert HTML in its place? Well wasn't it what <code>render</code> was doing? </p>
  
  <p>I was hoping if another programmer instead of books explains this to me maybe I get it this time:)</p>