Re: Working with classname that is stored in a string

From: Glen H. [mailto:[email protected]]
On 8/13/07, Sebastian H. [email protected] wrote:

I believe you are looking for const_get.
Thanks!

In the Rails world (or ActiveSupport in general), see also the more
robust #constantize method of strings:
http://api.rubyonrails.com/classes/ActiveSupport/CoreExtensions/String/I
nflections.html#M000434