Is there a shorthand for doing the following:
<% @ticket.notes.each do |n| %>
<% if n != @ticket.notes.last %>
<div class="note">
<p class="author">Note by <b>n.user.name</b></p>
<p class="time"><%= time_ago_in_words(n.created_at) %></p>
<p class="copy"><%= n.content %></p>
</div>
<% end %>
<% end %>
So that there is no need to check if the item is the last item.
You should slice the array beforehand: