Forum: Ruby on Rails parse string into a class reference?

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
28b37e90e187bd316d7a0a180b004b29?d=identicon&s=25 warhero (Guest)
on 2006-12-31 00:38
(Received via mailing list)
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?


This topic is locked and can not be replied to.