Question: why did ryder leave glee?
Answer: In New Directions the Glee Club gets disbanded, which is why he is no longer a member of the New Directions. In Homecoming, it is revealed that Sue transferred him to another school after the disbandment of the glee club.