I need some help with model association.
Here I have one user table.
id sender_id receiver_id message
1 1 2 HI. HOW R U
2 2 1 YEAH. FINE
3 2 4 HI. WR R U NOW?
1. Here I want get the sender_name and receiver name for an message.
2. Same like I want to get the sent and received messages for a
Can any one help how I have to build the association between these two
models, Here I dont want to create one more table.