<%= yield(:head) %> (presumably in one of your layouts) yields to any view doing something like
<% content_for :head do -%>
This text will be in the location of the html where <%=yield(:head)%> is
<% end %>
This is useful for doing things like include genormous javascript libraries like tinymce only when needed in views that are editing with wysiwyg text boxes.