Split Jaw Rail Joiners is the way to go to ensure the rails stay together and ensure good electrical connections if rail powered. Pricey but they ensure good connections.
I've also soldered the metal rail connectors that used the smaller cap head screws to connect rails. That does require a good high heat soldering iron.
Ward H