Hi. I’ve imported data from a phpbb and I’m reworking all the categories.
How do I move or delete all the topics from:
- One category (well I’m aware of
Topic.where(category_id: XX).update_all(category_id: YY)but I don’t know how to delete topics this way)?
- Multiples categories?
- All the subcategories from a target parent category?