Fix class group assign on student create

association are xit becasue of bugs in has_many :through accpets nested attributs. need association validation not by _id / readed on github issues and articles