rails/rails — pull request #13065 by lihanli (2013-11-27 04:37:37+00:00)
Title: ActiveSupport::Inflector.singularize not working for some words ending in "series"

Right now singularize returns the same word for all words that end in "series", however this isn't right for words like "nuseries" or "miseries". So I've removed the /(s)eries$/i rule and added all uncountable *series words to the uncountable array. Also the test_overwrite_previous_inflectors test was adding a new inflection and not properly removing it, so I wrapped it in with_dup (I had to fix this bug because the inflection it added was affecting the behavior of my new test cases).

http://www.scrabblefinder.com/ends-with/series/