Barcelona just managed to sneak a win against Villareal on Sunday evening, Sandro Ramirez scoring the only goal of the match in the 82nd minute.
Ramos and Bale gave Real Madrid the ideal start against Real Sociedad, scoring within the first 11 minutes. But a spirited fightback saw the home side rattle in four goals without reply to win the match 4-2.
Iñigo Martínez, Zurutuza with two and Vela were the scorers as Real Sociedad produced the surprise of the weekend.
Barcelona lead the way in La Liga with defending champions Atlético in fifth and Real Madrid in seventh.