views:

78

answers:

0

Hi,

I am building a social networking site in rails and I want to have a very simple messaging system. More or less just: inbox and set messages. Lastly, I'd ideally like for it to function like facebook; in the users profile you click "send message to username" and it takes you to a compose screen.

The only rails messaging system I've come across at all is: http://www.novawave.net/public/rails_messaging_tutorial.html and it seem to be pretty buggy and not exactly what I want, nor is it very modern or DRY.

I think I might have to just create my own but I'm having a hard time visualizing exactly how it work work:

I'd want to have a Message model that has both a sender and a recipient (both linked to seperate user IDs)....now that I think about this, it doesn't seem like it would be very complicated at all. Any suggestions or tips?