On Feb 25, 2009, at 1:23 PM, Yehuda Katz wrote: > You end up needing to do: > > Extlib > ::String > .constantize(Extlib::String.to_path(Extlib::String.underscore(str))) > > instead of: > > str.underscore.to_path.constantize > > Honestly, we tried this in DataMapper for a while, but it got too > bulky to > be realistic (outside of Java, I suppose). Plus this technique wouldn't allow polymorphic methods based on the target's type. That's a serious disadvantage. -- -- Jim Weirich -- jim.weirich / gmail.com