Open
Description
class Tag
has_closure_tree dependent: :delete_all
end
With the code above, @tag.destroy
only deletes @tag
's direct children. Its grandchildren are all orphaned, keeping old parent_id
s which no longer exist. However, the hierarchy records of all direct children and grandchildren do get deleted though. Is this intended?
Thanks.