Gillingham continued their 100% start to the season at the expense of Dagenham and Redbridge.
Veteran Deon Burton gave the visitors the lead when he headed home Matt Fish's cross.
Dwight Gayle equalised from the spot after he had been brought down in the area by visiting keeper Stuart Nelson.
Myles Weston grabbed the winner for Martin Allen's side, beating two players and firing past Daggers goalkeeper Chris Lewington.
VIEWS FROM THE DRESSING ROOM
Gillingham boss Martin Allen told BBC Radio Kent:
"It's always hard coming here and the conditions made it tough.
"We weathered the storm, fought back well from the equaliser, and did a fantastic job.
"What a great win though. When you see the stand here full up with people, the joy in everyone's faces, all the singing, everybody's done their stint."
Dagenham & Redbridge 01 Lewington 03 Ilesanmi 04 Doe 06 Spillane Booked 18 Hoyte 12 Elito 17 Howell (Da Green - 68' ) 19 Ogogo 24 Bingham 07 Williams 20 Gayle (Scott - 82' ) Substitutes 30 Seabright 02 Wilkinson 11 Do Green 21 Da Green 10 Scott 14 Reed 23 Woodall Gillingham 01 Nelson Booked 02 Fish 03 Martin 12 Frampton 15 Davies 07 Whelpdale (Payne - 61' ) 08 Lee 14 Allen (Strevens - 71' ) 16 Montrose 24 Weston 20 Burton (Kedwell - 61' ) Substitutes 21 Forecast 05 Essam 11 Jackman 04 Payne 18 Dack 09 Kedwell 10 Strevens