This project is archived and is in readonly mode.
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 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 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>
People watching this ticket
Attachments
Referenced by
- 5455 ActiveSupport inflector has incorrect test case In January Mighty Boosh submitted a ticket (#3804 at htt...