This project is archived and is in readonly mode.

#3804 ✓wontfix
Mighty Boosh

Inflector has wrong plurals

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

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...

Comments and changes to this ticket

  • Thomas Thornton

    Thomas Thornton April 12th, 2010 @ 10:37 PM

    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.

  • Santiago Pastorino

    Santiago Pastorino April 12th, 2010 @ 11:17 PM

    • 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

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

Attachments

Referenced by

Pages