# 通过 Rails 完全删除数百个主题的正确方法？

**URL:** <https://meta.discourse.org/t/the-proper-way-to-completely-delete-hundred-of-topics-via-rails/90323>\
**Category:** Support\
**Created:** [2018年六月20日 15:52 UTC](https://meta.discourse.org/t/the-proper-way-to-completely-delete-hundred-of-topics-via-rails/90323 "2018-06-20T15:52:40Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)\
**Post date:** [2018年六月20日 22:58 UTC](https://meta.discourse.org/t/the-proper-way-to-completely-delete-hundred-of-topics-via-rails/90323/2 "2018-06-20T22:58:48Z")

</div>

I’m not sure – this might also be performance intensive depending on how many weirdo Rails ActiveRecord things this causes to cascade through. Any thoughts @neil have you ever done this?

---

_[View the full topic](https://meta.discourse.org/t/the-proper-way-to-completely-delete-hundred-of-topics-via-rails/90323)._
