The Baltimore Ravens signed an undrafted quarterback to a three-year deal after inviting Diego Pavia to minicamp.