Many-to-many help

I’m working on a basic friendster type website. I’m trying to figure out
a way to store message between members. I have a user table and a
message table. I can’t just use the ‘user_id’ attribute in the message
table becuase I need two of them for the ‘to’ and ‘from’ which are both
users. Any tips?


This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs