variable variable

x = 'MyModel' obj = Module.const_get(x).new obj.class => MyModel