Railing is not safe at all! You would have to have a 3 inch mattress for this to be safe! Which would be extremely uncomfortable and it also wobbles due to the structure.