This is interesting. I have some view code that looks like this:
<%= @cause.updates.each do |update| %>
Your using <%= %> where you need <% %>. Since each returns the object it iterated over, once you are done iterating over updates, updates is returned and output to the HTML
<% @cause.updates.each do |update| # remove the = at the beginning of this line %>
<div class="streamComment group">
<img class="userPhoto" src="<%= update.user.avatar.url %>">
<p class="userComment"><%= update.update_text %></p>
</div>
<% end %>