app/models/kudo.rb
def name
    if self.pseud
      pseud.name
    else
      "guest"
    end
  end
# return either the name of the kudo-leaver or "guest"
return either the name of the kudo-leaver or "guest"
return either the name of the kudo - leaver or " guest "
def name
    if self.pseud
      pseud.name
    else
      "guest"
    end
  end
def name if self . pseud pseud . name else "guest" end end
return either the name of the kudo-leaver or "guest"
return either the name of the kudo - leaver or " guest "