Deleting user accounts from the console - uclibs/ucrate GitHub Wiki
Note: Deleting a user can have unintended consequences when there are proxies, groups, and other things tied to that user.
- 
Start the rails console:
bundle exec rails console productionorbundle exec rails console production - 
Delete the user's record:
Example:User.where(email: '[email protected]').first.delete