# \[Paid\] Prune Spam users

**URL:** <https://meta.discourse.org/t/paid-prune-spam-users/63132>\
**Category:** Marketplace\
**Created:** [May 22, 2017, 10:28am UTC](https://meta.discourse.org/t/paid-prune-spam-users/63132 "2017-05-22T10:28:42Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Post date:** [May 22, 2017, 11:01pm UTC](https://meta.discourse.org/t/paid-prune-spam-users/63132/9 "2017-05-22T23:01:52Z")

</div>

put a `.count` at the end of the line above where `.destroy_all` is.

I think you can add `limit 1000` in the `where` clause to limit the query.

---

_[View the full topic](https://meta.discourse.org/t/paid-prune-spam-users/63132)._
