From: John Barnette Date: 2008-03-04T07:33:01+09:00 Subject: Re: Typecast On Mon, Mar 3, 2008 at 1:39 AM, Sijo Kg wrote: > I have an ActiveRecord class ServiceDesk and a string "ServiceDesk" > .How can I convert the string "ServiceDesk" to create a new object of > the class ServiceDesk? Since you're working with Rails and therefore ActiveSupport, you can do: "ServiceDesk".constantize.new ~ j.