[mainly British] in a situation where you are operating successfully, especially after a period of difficulty
Co-ordinated action is needed more than ever to put the European economy back onthe rails.
living and behaving in a way that is acceptable and orderly, especially after a period when life was going badly
I was released from prison last year. I have managed to get part of my life backon the rails by finding a flat and a part-time job.