Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Inflector has wrong plurals

#3804

The inflector pluralises certain words incorrectly, namely octopus, hippopotamus, virus.

octopus should be octopuses, not octopi
hippopotamus should be hippopotamuses not hippopotamus
virus should be viruses not viri

There are probably more

http://www.askoxford.com/asktheexperts/faq/aboutgrammar/plurals?vie...

Reported by Mighty Boosh · January 28th, 2010 @ 09:48 AM

State: wontfix
Milestone: none
Assigned to: nobody
Importance: Low

Activity

  1. Thomas Thornton
    Thomas Thornton

    I was able to verify the mistakes in pluralization in inflections.rb and was able to correct the conversions and the test cases for the words in question. I gave a quick look for other mistakes and didn't see any other blatant errors. I attached a patch that corrects the issue.

    April 12th, 2010 @ 10:37 PM

  2. Santiago Pastorino
    Santiago Pastorino
    • State changed from new to wontfix

    Santiago Pastorino: why we don't fix inflection issues?

    David Heinemeier Hansson:
    1) because there are many, many more unlikely-to-be-used irregular inflections that we'd then have to do
    2) because changing some of the existing rules might break applications that depend on the old behavior
    3) because it's so easy to add your own inflections

    April 12th, 2010 @ 11:17 PM