Surface-mounted railing