maybe underscore(camelcasedword).gsub(/_/, " ") or humanize(underscore(camelcasedword)) depending on the result you want? j On Wed, 16 Mar 2005 20:24:49 +1000, Adelle Hartley <adelle-JNHwCBCQwwtx3z9c7Zyw2w@public.gmane.org> wrote:> Or to put it another way, is there a function f, such that > > Inflector.f(Inflector.Camelize(x)) = x > > ? > > Enquiring minds need to know. > > Adelle. > > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >