Literally speaking the saying means “Ram came, Ram went”. But this shows defection by MPs and MLAs, In 1967, an MLA named Gayalal made a defection in Haryana. He changed his party 3 times in 2 weeks. From Congress he went to the United Front, then he came back to the Congress and then, after 9 hours, he went back to the United Front. It was his quick defections that gave birth to this saying.