Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- gitlab-rails console production
- user = User.find_by(email: 'emil_id')
- user.password = 'secret_pass' //at least 8 characters long
- user.password_confirmation = 'secret_pass'
- user.save!
Add Comment
Please, Sign In to add comment