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).



This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs