Goals from Mats Hummels and Pierre-Emerick Aubameyang helped Dortmund defeat Hertha Berlin to retain their 100% start to the season, although Salomon Kalou's consolation goal towards the end in between Ramos' effort made matters more complicated than they should have been at the Westfalenstadion.
Aubameyang's goal which sealed the victory puts Dortmund back on top of the Bundesliga table ahead of fierce rivals Bayern Munich on goal difference.
The opening 45 minutes saw Dortmund struggle to break down Hertha who were content with parking the bus until Shinji Kagawa's brilliant in-swinging left footed cross from the right soared over the defence to meet Hummels head at the back post in the 25th-minute.
Henrikh Mkhitaryan had a miserable season last campaign but has started this one scoring eight goals in eight games. He almost had a ninth when Marco Reus flashed a cross across the six-yard box but the Armenia failed to make contact with the ball but collected the goalkeeper.
Straight after Dortmund made it two-nil in an identical attack. Former Manchester United attacking midfielder Kagawa was the architect as his defence splitting pass found Reus inside the box and he nudged the ball to Aubameyang who scored to take his tally to three goals after 51 minutes. The Gambian forward has now netted in all three Bundesliga games so far.
That goal only seemed to spur on Dortmund who found another gear and killed off the match by finding the net with the last kick off the game. Former Hertha Berlin star Ramos came off from the bench to squeeze in a tap-in after flicks from Kagawa and then Mkhitaryan found its way to the Colombian striker.
The win ends a win of seven games between the two clubs which had seen wins traded (three wins apiece for either side and a draw). Dortmund have now won their last two against Hertha and will play Hannover after the international break.