Displaying 1 result from an estimated 1 matches for "receiver_user_id".
2008 Apr 08
1
Problem with has_many
Hi all
I''ve got a message table, where the sender and the receiver are stored
(sender_user_id, receiver_user_id)
How must i declare this dependencies in the user and message model?
I''ve got the following one:
has_many :messages, :foreign_key=> ''receiver_user_id''
but how to declare the secound one?
Thank you for your help!
Greets
--
Posted via http://www....