Forum: Ruby on Rails delete joiner entry when a habtm entry is removed

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Stephen B. (Guest)
on 2006-04-27 13:02
(Received via mailing list)
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).


This topic is locked and can not be replied to.