<% @objects.each{|obj| %> <% if user.name == obj.name %> <%= obj.status %> <% else %> <%= user.status.name %> <% end %> <% } %>