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"
strip_heredoc() Instance Public methods Strips indentation in heredocs.
is_utf8?() Instance Public methods
indent(amount, indent_string=nil, indent_empty_lines=false) Instance Public methods Indents
camelcase(first_letter = :upper) Instance Public methods Alias for:
camelize(first_letter = :upper) Instance Public methods By default, camelize
acts_like_string?() Instance Public methods Enable more predictable duck-typing
titlecase() Instance Public methods Alias for:
classify() Instance Public methods Create a class name from a plural table name
parameterize(sep = '-') Instance Public methods Replaces special characters
html_safe() Instance Public methods
Page 1 of 5