From: Vsevolod (S. I. <il...@cs...> - 2004-02-16 01:48:53
|
Hi, I was wondering how people here manage relationships with multiple=20 girlfr... Oops, wrong mailing list. :) I was wondering if it's possible to implement in SPOPS "has_many"=20 relationship (in addition to "has_a" and "links_to"). Obviously, it can=20 be done through "links_to", but at the cost of an additional database=20 table which makes things more cumbersome. For things like a bug=20 database, where one software project references several bugs, but no=20 bugs belong to more than one software project, "links_to" is an=20 overkill. If the id of the owner is stored in a field of the owned=20 object, the implementation can be similar to the already existing code=20 for the other relationships. Chris, if you think it's a good idea, I could implement it. I would only=20 request from you pointers to all the places that should be modified. Thanks, Simon --=20 Simon (Vsevolod ILyushchenko) si...@cs... http://www.simonf.com The unknown is honoured, the known is neglected - until all is known. The C=FA Chulaind myth |