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

Hi guys, we have a problem with a category who was created by babble plugin.
She’s locked and no way for delete her.
Have you got an idea please ?

Thank’s , Alex (France) .

3 Likes

Yeah we have the same issue too :wink:

(Nous avons le même soucis également… je pense qu’il n’est pas possible d’y remédier…)

1 Like

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
5 Likes

Thank you very much Andrew, it’s work fine, problem solved @FlyingSwitzerland :slight_smile:

3 Likes

And for delate the admin off babble : chattykattie

User.find_by(username: “chattykattie”).destroy

2 Likes