Disabling the copilot and all the AI magic actually forces me to think and remember.
I don't drop it completely. It is actually a very nice mentor to learn things. I try to recall ruby. After finishing an exercise, I ask AI to rewrite it to idiomatic Ruby and always find interesting tricks and patterns