What tpye of laser did you bought?
Normally your laser should have three wires: plus – ground – ttl-input
Connect plus and ground to your power supply.
And connect ground and ttl to your ramps/arduino.
The ground connection is the same in both cases.
This should work.