# Wie aktiviere ich alle inaktiven Mitglieder mit einem Klick?

**URL:** <https://meta.discourse.org/t/how-do-i-activate-all-inactive-members-at-the-click-of-a-button/118598>\
**Category:** Product Support\
**Created:** [24. Mai 2019 um 10:29 UTC](https://meta.discourse.org/t/how-do-i-activate-all-inactive-members-at-the-click-of-a-button/118598 "2019-05-24T10:29:47Z")\
**Posts on this page:** 1\
**Showing post:** 12

<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:** [26. Mai 2019 um 11:58 UTC](https://meta.discourse.org/t/how-do-i-activate-all-inactive-members-at-the-click-of-a-button/118598/12 "2019-05-26T11:58:19Z")

</div>

You can search here for something like “rails update users” and get some examples. Something like

```
 User.all.update_all(active: true) 

```

You should not do that without a bit more research and taking a backup. It might kill your dog.

---

_[View the full topic](https://meta.discourse.org/t/how-do-i-activate-all-inactive-members-at-the-click-of-a-button/118598)._
