<div id="comments-thread"> <h3>Comments</h3> <%= render partial: "comments/comment", collection: @comments %> <%= render partial: "comments/new" %> </div>