concept inflection in category rails
appears as: inflections

This is an excerpt from Manning's book Rails 4 in Action: Revised Edition of Rails 3 in Action.
Inflections are Rails’ way of knowing how to pluralize or singularize words. You can also define uncountable words, and Rails is smart enough already to know that you can’t pluralize words like news and sheep. It also has some rules about irregulars, like where person becomes people when it’s pluralized. The final thing that inflections can do in Rails is define acronyms, and that’s what you’ll use right now to change Api to API in your application.