String inflections define new methods on the String class to transform names for different purposes. For instance, you can figure out the name of a table from the name of a class.
'ScaleScore'
.tableize
# => "scale_scores"
__method_for_multibyte_testing!() Instance Public methods
singularize(locale = :en) Instance Public methods The reverse of pluralize
deconstantize() Instance Public methods Removes the rightmost segment from the
to(position) Instance Public methods Returns a substring from the beginning
squish!() Instance Public methods Performs a destructive squish. See
Page 5 of 5