Stephen Bartholomew
2006-Apr-27 08:59 UTC
[Rails] delete joiner entry when a habtm entry is removed
Is there an easy way to make sure that a joiner entry is removed when either part of a habtm is destroyed? I can remove the entry manually but i wondered if there was a option i could specify in the relationship declaration (like :dependent=>true). Thanks, Steve