Queens Park Rangers have kept two clean sheets in their last two matches.
A 0-0 draw in midweek against Sheffield Wednesday was backed up by a 3-0 victory over Milton Keynes Dons on Saturday.
And Ramsey said: "We've worked on the defensive side of our game over the last few weeks and I think the last two performances have shown that if we get that right, it gives us a platform from which to build.
"We've still got work to do from that point of view, but tonight we've got to celebrate what we've achieved today."
Despite their recent improvement, QPR have still conceded more goals than every team in the Championship other than Rotherham United, and their defensive record looks far from strong.
However, keeping the opposition out in their last two matches has been encouraging, and it has seen positivity grow at Loftus Road.
QPR had gone into their game against MK Dons in awful form, but they responded to the pressure and put in one of their best performance of the campaign to date.
The win lifts the R's up to 10th place in the Championship table, with Ramsey's men now just five points drift of the play-off places.