Changing users email address

Try UserEmail.find_by(email: "oid@example.com") alone, if it returns nil, then it means there are no UserEmail records with that email address :wink: