Well, I don't see why you mentioned the genitive case, sorry.

Я учу русский - here the bolded word is in accusative
Я учу русскому - here it is in dative