inflections() public

Yields a singleton instance of Inflector::Inflections so you can specify additional inflector rules.

Example:

  ActiveSupport::Inflector.inflections do |inflect|
    inflect.uncountable "rails"
  end
Show source
Register or log in to add new notes.