if a model A has_many :bee, :through => :c, :dependent => :destroy
...
a.destroy properly cleans up all the bee's ...

however.
If one does this:

a.bees = []
c records are destroyed... bees are untouched.

This is misleading to me, as: while I can understand semantics that
just the "array" has been modified...
something like :dependent => :destroy should be invariant (the
dependents should be destroyed, under all cases where... the object is
a dependent)

I am new to this list, so: how does one file a ticket?

-Solas

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-core?hl=en.

Reply via email to