I have had a Ruger SR-22 and liked it okay, but for me, the M&P .22 Compact, made by S&W and not the full size M&P .22 which is made by UMAREX, is the ticket.
Agree. The Ruger SR22 is a quality gun with two significant flaws:
(1) The manual thumb safety works backward from the 1911 and nearly all other guns. Up is FIRE, and down is SAFE. That's confusing. If you ever carry a 1911 or other manual-safetied gun for self-defense, I would never buy an SR22 because the backwards safety will mess up your muscle memory.
(2) It's a conventional DA/SA gun that can't be carried cocked-and-locked, and the initial double action trigger sucks. Creepy, unpredictable, heavy. The single action trigger for follow-up shots is fine, and the gun seems mechanically accurate, but I just couldn't manage that DA trigger accurately -- lot of first round flyers. And I am a revolver guy who tends to shoot DAOs well.
These two flaws ultimately led me to bypass the SR22 for the S&W M&P 22 Compact, and I remain happy with that choice. Good trainer and plinker. Made in USA.