We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A lot of trials (project owner account creation) don't end up with a display name:
This is a problem. Can we require it? Or is it missing for some other reason?
(I feel like there's an open issue on this, but I can't find it.)
The text was updated successfully, but these errors were encountered:
Upon further investigation, we found out this happens when a user updates their real name to contain " " rather than just leave it blank (to be nil)
This will then update display_name to be an empty space string ' '
def update_display_name if self.owner self.display_name = self.real_name else self.display_name = login end end
So that the override will detect that self[:display_name] is NOT nil so it grabs the empty string instead
def display_name if self.guest 'Guest' else self[:display_name].presence || self[:login] end end
Sorry, something went wrong.
WillNigel23
Successfully merging a pull request may close this issue.
A lot of trials (project owner account creation) don't end up with a display name:
This is a problem. Can we require it? Or is it missing for some other reason?
(I feel like there's an open issue on this, but I can't find it.)
The text was updated successfully, but these errors were encountered: