Hello, and thanks for putting together your chat tutorial. As I was following along, I noticed in
that Message appears to restate the associations in Participant (belongs_to user and room). Is there a reason to prefer this over making a Message belong_to participant? I couldn't think of one but you're the one who wrote the tutorial so I figured you might have some experience that caused you to make that specific choice.
Hello, and thanks for putting together your chat tutorial. As I was following along, I noticed in
turbochat/app/models/message.rb
Line 2 in 3f3f2e7
that Message appears to restate the associations in Participant (belongs_to user and room). Is there a reason to prefer this over making a Message belong_to participant? I couldn't think of one but you're the one who wrote the tutorial so I figured you might have some experience that caused you to make that specific choice.