"Thats the ticket" is just an expression, like for thats what I needed.. like you're depressed and you go out with buds and drink a couple brew.. that'd be the ticket!