# Models for simple messaging system

**URL:** <https://www.ruby-forum.com/t/models-for-simple-messaging-system/88144>\
**Category:** Rails\
**Created:** [March 8, 2007, 2:54pm UTC](https://www.ruby-forum.com/t/models-for-simple-messaging-system/88144 "2007-03-08T14:54:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![starburger](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/848f3c/32.png) [@starburger](https://www.ruby-forum.com/u/starburger)\
**Post date:** [March 8, 2007, 2:54pm UTC](https://www.ruby-forum.com/t/models-for-simple-messaging-system/88144/1 "2007-03-08T14:54:46Z")

</div>

I’m currently developing a community website that is to includes a  
simple messaging system: Users can send email-like messages (sender,  
recipient, subject, body, read-date, etc.) to each other. They have an  
inbox and a sent box each. They can read and delete messages.

That seems to be straight forward, but I’m not so sure about the  
requirements to come.

Are there some good examples how the model and DB schema could look  
like?
