使用 rails console 删除用户 u.delete -\u003e email 仍然“被占用”

To delete a user from the console, use UserDestroyer. See Deleting Users in rails console - #2 by jomaxro.

Note to self, turn that into #howto:faq

5 个赞