The ActiveSupport::Inflector handles a lot of the semantic rules in Rails, including acronyms.
The inflections method yields to a singleton instance of ActiveSupport::Inflector::Inflections. It can be passed an optional locale, which is how we could write inflection rules for other languages; the default locale is English (specified as the argument :en).
We can write our own inflections inside of the config/initializers/inflections.rb file. This file actually already exists and will look like this when we first open it:
We can already see how to go about writing our inflections with the examples in this file.