search for: has_man

Displaying 1 result from an estimated 1 matches for "has_man".

Did you mean: has_many
2007 Dec 20
3
remove association
Hi all, I have a user has many numbers relationship. When I query User.find(:all, :include => :numbers) I get all the users with their numbers. I''m looking for a method that removes the number from a user eg users[0].numbers[1].delete . I basically want ot remove the association but I''m unable to find such a method. Regards, Stijn