From: James Edward Gray II Date: 2006-06-12T05:25:41+09:00 Subject: Re: Is there a better way... On Jun 11, 2006, at 3:03 PM, James McCarthy wrote: > instance = eval("#{object}.new(attributes)") instance = Object.const_get(object).new(attributes) Hope that helps. James Edward Gray II