Betray a comrade by giving information, as in He ratted on his best friend to the police. [Slang; early 1900s]