Replace default to defaultInstance in ruby generated code