GitHub - thingista/acronyms_and_more: Rails inflections file - Common English acronyms

1 min read Original article ↗

Skip to content

Navigation Menu

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Rails does not "recognize" acronyms by itself. So we end up with things like this:

> "the CEO of Google".titelize
=> "The Ceo Of Google"

Acronyms need to be listed manually.

I could not find a list of common English acronyms so I started to put one together. Please don't hesitate to add yours.

How to use

Just add inflections.rb to your initializers folder (or add to you existing inflections file).

About

Rails inflections file - Common English acronyms

Resources

Readme

Activity

Stars

3 stars

Watchers

1 watching

Forks

2 forks