model a:
has_many :b, :dependent => :delete_all
model b:
belongs_to :a
belongs_to :c
model c:
has_many :b
When I delete an a
, I would also like to have children b's
deleted so that they get removed from any c's
that may reference them. However, the above isn't working. I'd appreciate any help.