That is, for any String string
, does the following hold?
string.pluralize == string.pluralize.pluralize
pluralize is NOT idempotent. I can prove it by example (courtesy of a personal Facebook posting that hit some language geeks).
"taxi".pluralize
=> "taxis"
"taxis".pluralize
=> "taxes"
"taxi".pluralize.pluralize
=> "taxes"
So "taxi" (the thing that drives you around) to "taxis" (an arrangement or order) to "taxes" (the proper pluralization of "taxis"). I'm sure there are other examples, but they are certainly hard to come by.
Not looking for score or acceptance on this answer, but I couldn't really fit this nicely into the comments on Ryan's post.
I cannot think of a case where it wouldn't.
I just tried the following words and it doesn't change after a second pluralizaation. However, some of them do "break" in interesting ways because of two reasons: 1) Rails' pluralization rules are actually quite dumb and 2) English is hard.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With