Hi,
I'm not quite sure how to go about framing this question, but I am building a social network from the ground up using rails; one feature is twitter style messages. I am trying to create an option that when the user submits their message, the have a checkbox that says "private". If the checkbox is checked, only the users friends can see the submission. If the checkbox is checked, any user can see the questions.
How should I go about implementing this? I don't even know where to look for an even vaguely similar idea or strategy. Any advice would be much much appreciated.