class Message < ApplicationRecord
  belongs_to :conversation
  belongs_to :channel
  belongs_to :participant
end

class Message < ApplicationRecord
  belongs_to :conversation, touch: true
  belongs_to :channel, touch: true
  belongs_to :participant, touch: true
end

Add touch true to belongs_to associations
Add touch true to belongs_to associations
