Displaying 1 result from an estimated 1 matches for "contacts_to_delete".
2006 Nov 04
0
deleting associations
...John
Table contacts
id email
1 john@yahoo.com.ar
2 john@gmail.com
3 john@aol.com
Table clients_contacts
client_id contact_id
1 1
1 2
1 3
--------------------------------------------
so I have a collection, in example
contacts_to_delete = [1, 3]
and I want to erase the relation between client 1, and contacts 1 and 3
What''s the best way to delete those relations? Thank you
--------------------------------------------
Rodrigo Dominguez
?
Iplan Networks ???????????????Datos Personales
rdominguez@iplan.com.ar ??????rorra@...