say I have a model call Game. and I also have a string called 'game'. how can I parse the 'game' string to have a class reference so I can call methods on Game?
psuedo: eval('game').find(1)
wrockit
say I have a model call Game. and I also have a string called 'game'. how can I parse the 'game' string to have a class reference so I can call methods on Game?
psuedo: eval('game').find(1)
wrockit