# Can't remove a dangling category created by the Babble plugin

**URL:** <https://meta.discourse.org/t/cant-remove-a-dangling-category-created-by-the-babble-plugin/56533>\
**Category:** Product Support\
**Created:** [Janeiro 28, 2017, 9:42pm UTC](https://meta.discourse.org/t/cant-remove-a-dangling-category-created-by-the-babble-plugin/56533 "2017-01-28T21:42:04Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![JagWaugh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jagwaugh/32/69335_2.png) [@JagWaugh](https://meta.discourse.org/u/JagWaugh)\
**Post date:** [Janeiro 28, 2017, 10:28pm UTC](https://meta.discourse.org/t/cant-remove-a-dangling-category-created-by-the-babble-plugin/56533/3 "2017-01-28T22:28:40Z")

</div>

Can’t you just hide the category?

You can delete from the CLI

first, look at /categories.json with a browser to get the id # of the category.

If the category id is 27, then, in the CLI:

```
/launcher
rails c
Topic.where(category_id: 27).destroy_all
then
Category.where(id: 27).destroy_all

```

---

_[View the full topic](https://meta.discourse.org/t/cant-remove-a-dangling-category-created-by-the-babble-plugin/56533)._
