Pregunta de entrevista de XTS Group

Normal ruby and rails basic question