With their final group game coming against Italy, Wales needed to beat Turkey in order to have a realistic chance of staying in the tournament.
With four points to their name, Wales are now guaranteed a top three finish. While the third place doesn't automatically secure a spot in the next round, it certainly keeps the side in contention.
Ramsey scored the opener in the 42nd minute after capitalising on a wonderful pass from Gareth Bale.
The Juventus midfielder, who earlier missed two great opportunities, was a nuisance for the Turkish defence throughout the contest.
Bale himself had an opportunity to stamp his name on the scoresheet when he earned his side a penalty in the second-half. However, a poorly taken spot kick meant the game entered a pulsating final 30 minutes.
Both teams had chances during the closing stages but in the end, it was Wales who had the final say.
Swansea defender, Connor Roberts, bagged the winner to make sure of the three points.
You can read the full report on Football365.
After two defeats, Turkey face one final group game against Switzerland.
Senol Gunes' side will be hoping to at least score their first goal of these championships having failed to net against Italy and Wales.
Speaking of Rob Page's side, they take on one of the tournament favourites, Italy.
Having all but sealed their place in the next round, Wales will be looking to give a good account of themselves against one of the world's leading sides.