If the motherboard shortcircuits...

Solution
First, if you have a good PSU, it should electronically shutdown before it fries anything else. That's an often overlooked benefit of a good PSU.

Second, the CPU and RAM are "insulated" from the rest of the motherboard by their of power regulators.

Third, a short represent a lower resistance path to ground than any CPU or RAM chip.

The CPU and RAM should be OK. Why?
First, if you have a good PSU, it should electronically shutdown before it fries anything else. That's an often overlooked benefit of a good PSU.

Second, the CPU and RAM are "insulated" from the rest of the motherboard by their of power regulators.

Third, a short represent a lower resistance path to ground than any CPU or RAM chip.

The CPU and RAM should be OK. Why?
 
Solution
It all depends on where the short is, and what caused it.

Not all shorts are from a given point to ground, just most.
The most common short circuits caused by "goof" are forgetting the standoff under the MB and "Forcing" a PSU connector on backwards. Even with a Good PSU, this normally damages components - the reversed Connector being the worst as it will create a reverse current.

The other cause is component failure - First place to look is components that have the highest current. Where, and why will determine what componets other than the MB are damaged. Could be a shorted CPU which inturn damages the MB - IF this was the case, Not a good idea to plug it into a 2nd MB and what it fry. Need to step back and evaluate.