A light string passing over a smooth light pulley connects two blocks of masses \( m_{1} \) and \( m_{2} \) (where \( m_{2} > m_{1} \)). If the acceleration of the system is \( \frac{g}{\sqrt{2}} \), then the ratio of the masses \( \frac{m_{1}}{m_{2}} \) is: