Use github username if full name is blank #36

Closed
KieranP opened this Issue Jul 30, 2011 · 0 comments

2 participants

@KieranP

See http://railscasts.com/users/953

The name is blank, but the github username isn't.

Some psuedo-code:

def name
  self[:name].presence || self.github_username
end
@ryanb ryanb closed this in 4dee54c Aug 18, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment