ActiveSupport::Inflector
Active Support Inflector The Inflector transforms words from singular to plural, class names to table names, modularized class names to ones without, and class names to foreign keys.