Displaying 1 result from an estimated 1 matches for "agathe".
Did you mean:
agate
2006 Feb 27
4
2 belongs_to to the same parent table
...n_key => ''user_id''
#belongs_to :user, :foreign_key => ''user_buddy_id'' # does not work
end
Is there a solution existing in Rails that solves this problem? Or is
this design bad anyway?
I cannot think of any elegant solution. Any advice welcome!!
Thnx!!
agathe
--
Posted via http://www.ruby-forum.com/.