Wow. Have you considered the circular logic of that?
The whole point of a pagefile is just to implement more virtual memory than you have physical ram by using disk space instead.
By putting the pagefile in a ramdisk you're basically just adding several layers of inefficiency to ultimately accessing the same ram.
Assuming thats all you're using the ramdrive for, you'd be much better off by not having a ram drive at all (so freeing up that ram) so the system can just use it directly (i.e. faster) and can also use only as much as it needs. Unlike dynamic usage, even an empty formatted ramdrive occupies a lot of memory.
So where to put the swapfile?:
For some stupid reason windows does do lots of write ops to the swap file even when you have a lot of free memory. If your hardware and usage pattern is like most peoples, you generally only run one or two apps concurrently and they aren't memory hogs, so your actual memory usage is probably such that you never likely to run out of physical ram anyway, negating the whole need for a swapfile.
In that case you can turn swapping off completely (in windows its under the computer properties/advanced tab somewhere). Turning off swapping altogher is probably an especially good idea if you have windows installed on an SSD, as you are then stopping all that pointless disk I/O to the swapfile, meaning you're not pounding your limited lifespan SSD with a bunch of unnecessary but continuous write operations, so significantly decreasing the lifespan of it.
If you really get into it, you'll soon find Windows also writes to the registry all the time (at least 10 times a second) even when the computer is idle. That would be my second thing to stop in order to extend the life of my SSD. One approach might be to install windows on an SSD for fast booting etc but then hack the config and move just the registry and "Documents and Settings" folder (which includes most of the regularly written-to things like the desktop, temp folders, user config and application data folders etc) over to a slower but much longer write-life mechanical drive.