A solitary goal from Karim Benzema spared Real Madrid's blushes as the Spanish giants moved to the top of La Liga with a nervy 1-0 win over Granada on Saturday.
Real had scored 15 times in their previous three matches, but they were grateful to some poor Granada finishing and controversial calls by the officials to claim all three points.
Benzema grabbed the only goal of the game nine minutes into the second-half with a cushioned header from Isco's fine cross.
Victory moves Madrid a point ahead of Barcelona at the top of the table with the Catalans not in action until Sunday when they host Levante.
The scene appeared to be set at a sunny Bernabeu for Ronaldo to surpass Raul to become Madrid's all-time to goalscorer.
There was even a special introduction for the World Player of the Year as his mascot for the day was Zaid Mohsen, the seven-year-old Syrian refugee made famous when he and his father were tripped by a Hungarian camerawoman.
However, the script wasn't followed once the action got underway as Granada passed up a host of chances to spring a massive surprise.
Marcelo was forced into a clearance off the Real goal line early on before Isaac Success fluffed his first of a number of opportunities when he failed to hit the target when unmarked at the back post.
Ronaldo's first opening came 18 minutes in, but Andres Fernandez stood up well to block his effort before Benzema failed to turn the rebound home.
Youssef El-Arabi did have the ball in the net for Granada moments later, but was wrongly ruled to have been offside.
Fernandez made further good saves from Luka Modric, Ronaldo and Lucas Vazquez to keep Rafael Benitez's men at bay.
Yet, Success had two more great chances to put Granada in front just before and after the break as he was denied by brave save from Keylor Navas before chipping the ball well over with his second effort.
The Andalusians were eventually made to pay for their profligacy when Isco's perfect cross picked out Benzema for a simple header to open the scoring.
El-Arabi should still have given Granada a share of the points, but he too couldn' find a way past Navas at the end of a final individual run as the Costa Rica international stretched his unbeaten streak to start the season to five games.