[Rails] Cleaning up has_and_belongs_to_many?
Lon Baker
lon at speedymac.com
Wed Mar 2 18:54:09 GMT 2005
Does has_and_belongs_to_many know to delete an object when the last
reference to it is removed?
In my case I have Receiver <<->> Message (with a join table of course),
but have noticed that when the last receiver removes a message from the
association the message still exists.
Before adding code to manage this situation I want to check to see if I
am missing something?
--
Thanks.
Lon Baker
Speedymac LLC
http://www.speedymac.com
lon at speedymac.com
AIM: spdemac
More information about the Rails
mailing list