Just a tip on how to update a pod users email address if you need. In my example I need to edit production postgres DB user #5 and change their email.
RAILS_ENV=production DB=postgres rails c
user = User.find_by(id: 5)
user.email = ‘firstname.lastname@example.org’
And that is it. You can of course use this to edit other user. items where needed.