<% @certificates.each do |certificate| %> <% unless certificate == @certificates.last %>
<% end %> <% end %>