Difference between Render and Render Partial and Yield
问题 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 :( There is a _footer.html.erb file so it is a "partial" and in the code it has written: <%=render 'layouts/footer' %> 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: <%= render partial: 'activitiy_items/recent' %> so WHY this time we have the word "partial" in here