module

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 database from the name of a class.

  "ScaleScore".tableize => "scale_scores"

Files

  • activesupport/lib/active_support/core_ext/string/inflections.rb