# Пользователь удалён через rails console u.delete, но email всё ещё «занят»

**URL:** https://meta.discourse.org/t/deleted-user-with-rails-console-u-delete-email-still-taken/164868
**Category:** Bug
**Created:** [22.Сентябрь.2020 12:24:53 UTC](https://meta.discourse.org/t/deleted-user-with-rails-console-u-delete-email-still-taken/164868 "2020-09-22T12:24:53Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![IAmGav](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/iamgav/32/235598_2.png) [@IAmGav](https://meta.discourse.org/u/IAmGav)
#### Post date: [22.Сентябрь.2020 12:37:54 UTC](https://meta.discourse.org/t/deleted-user-with-rails-console-u-delete-email-still-taken/164868/2 "2020-09-22T12:37:54Z")

</div>

Установите плагин [Data Explorer](https://meta.discourse.org/t/32566?silent=true), после чего вы сможете проверить, в какой таблице всё ещё находится ваш email, который вы хотите удалить.

> [@Discourse Data Explorer](https://meta.discourse.org/t/data-explorer-plugin/32566):
>
> discourse2Summary Discourse [Data Explorer](https://meta.discourse.org/t/32566?silent=true) allows you to make SQL queries against your live database, allowing for up-to-the-minute stats reporting.open_bookInstall Guide This plugin is bundled with Discourse core. There is no need to install the plugin separately.information_source If you’re looking for examples or support for any custom queries, you can find lots of topics in our #Data & reporting category under the #sql-query tag. If there’s not one to suit your pa…

---

_[View the full topic](https://meta.discourse.org/t/deleted-user-with-rails-console-u-delete-email-still-taken/164868)._
