class ActiveSupport::Inflector::Inflections
def human(rule, replacement)
human /_cnt$/i, '\1_count'
'The name', not 'the_name').
string is used, the human form should be specified as desired (example:
the normal humanize formatting is called after the replacement. When a
by a string mapping. When using a regular expression based replacement,
Specifies a humanized form of a string by a regular expression rule or
def human(rule, replacement) @humans.prepend([rule, replacement]) end