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

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
882cc23c77c5c6d27613c51396a02a0d?d=identicon&s=25 Stephen Bartholomew (Guest)
on 2006-04-27 11: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).

Thanks,

Steve
This topic is locked and can not be replied to.