And a pic of two rails attached. I may end up chamfering the inner corner of the leg a bit at the top, depending on how rounded the corners of the mattress are.
DSC_0176.JPG