A spinal device including a variable-length member including a ratchet mechanism that has an operative configuration that allows a change in length of the variable-length member in one direction and prevents a change in length of the variable-length member in an opposite direction, wherein the variable-length member includes polyaxial-joint attachment members for attachment to bone, which permit pivoting movement of the attachment members about more than one pivoting axis, characterized by a force applicator operative to adjust or advance the ratchet mechanism.