# Surface data about users with too many bounces

**URL:** https://meta.discourse.org/t/surface-data-about-users-with-too-many-bounces/64498
**Category:** Feature
**Created:** [2017年六月14日 17:38 UTC](https://meta.discourse.org/t/surface-data-about-users-with-too-many-bounces/64498 "2017-06-14T17:38:54Z")
**Posts on this page:** 4
**Page:** 2

<div class="post-metadata">

### Author: ![watchmanmonitor](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/watchmanmonitor/32/430970_2.png) [@watchmanmonitor](https://meta.discourse.org/u/watchmanmonitor)
#### Post date: [2017年七月19日 21:44 UTC](https://meta.discourse.org/t/surface-data-about-users-with-too-many-bounces/64498/21 "2017-07-19T21:44:26Z")

</div>

> [@codinghorror](#):
>
> I guess a [data explorer](https://meta.discourse.org/t/32566?silent=true) plugin query is your huckleberry in that case -

I’m looking at the explorer, and the setting in question isn’t in the example.

I’m hoping someone can show an example to see which users are still blocked.

---

<div class="post-metadata">

### Author: ![watchmanmonitor](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/watchmanmonitor/32/430970_2.png) [@watchmanmonitor](https://meta.discourse.org/u/watchmanmonitor)
#### Post date: [2017年七月20日 17:40 UTC](https://meta.discourse.org/t/surface-data-about-users-with-too-many-bounces/64498/22 "2017-07-20T17:40:14Z")

</div>

I changed the reset period to 2 days, but am still seeing users blocked.

How can I force-reset all users’ bounce to `0`?

---

<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: [2017年七月20日 22:37 UTC](https://meta.discourse.org/t/surface-data-about-users-with-too-many-bounces/64498/23 "2017-07-20T22:37:25Z")

</div>

I believe there is a ruby command line way to do this, can you share it @zogstrip?

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [2017年七月21日 07:41 UTC](https://meta.discourse.org/t/surface-data-about-users-with-too-many-bounces/64498/24 "2017-07-21T07:41:26Z")

</div>

In the rails console, do

```ruby
UserStat.update_all(reset_bounce_score_after: nil, bounce_score: 0)

```

[上一頁](https://meta.discourse.org/t/surface-data-about-users-with-too-many-bounces/64498.md?page=1)
