You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With the code above, @tag.destroy only deletes @tag's direct children. Its grandchildren are all orphaned, keeping old parent_ids which no longer exist. However, the hierarchy records of all direct children and grandchildren do get deleted though. Is this intended?