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"
truncate(truncate_at, options = {}) Instance Public methods Truncates a given
to_time(form = :local) Instance Public methods Converts a string to a
__method_for_multibyte_testing() Instance Public methods
last(limit = 1) Instance Public methods Returns the last character of the string
at(position) Instance Public methods If you pass a single Fixnum, returns a
tableize() Instance Public methods Creates the name of a table like Rails does
__method_for_multibyte_testing_that_returns_nil!() Instance Public methods
from(position) Instance Public methods Returns a substring from the given position
indent!(amount, indent_string=nil, indent_empty_lines=false) Instance Public methods Same
exclude?(string) Instance Public methods The inverse of String#include
Page 3 of 5