With | Subject | Body | |
<% people = conversation.participants %> <% people.each do |person| %> <% unless person == current_user %> <%= truncate(person.user_name, length: 20) %> <% end %> <% end %> | <%= truncate(conversation.subject, length: 30) %> | <%= truncate(message.body, length: 42) %> | <%= link_to 'View', @pms.find_by(conversation: conversation) %> |
With | Subject | Body | |
<% people = conversation.participants %> <% people.each do |person| %> <% unless person == current_user %> <%= truncate(person.user_name, length: 20) %> <% end %> <% end %> | <%= truncate(conversation.subject, length: 30) %> | <%= truncate(message.body, length: 42) %> | <%= link_to 'View', @pms.find_by(conversation: conversation) %> | <% end %>
With | Subject | Body | |
<% people = conversation.participants %> <% people.each do |person| %> <% unless person == current_user %> <%= truncate(person.user_name, length: 20) %> <% end %> <% end %> | <%= truncate(conversation.subject, length: 30) %> | <%= truncate(message.body, length: 42) %> | <%= link_to 'View', @pms.find_by(conversation: conversation) %> | <% end %>