app/views/conversations/_conversation.html.slim

Summary

Maintainability
Test Coverage
ul.conversation-message-list
  - alternate = false
  - prev_sender = nil
  - @conversation.messages.each do |message|
    - alternate = !alternate if prev_sender != message.sender && prev_sender
    == render 'message', message: message, alternate: alternate
    - prev_sender = message.sender