mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
Inflections: don't singularize -ies plurals.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4868 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
*SVN*
|
||||
|
||||
* Inflections: don't singularize -ies plurals. [foamdino@gmail.com, Mark Van Holstyn]
|
||||
|
||||
* Update Initializer to use load_once_paths to avoid plugin reloading. References #5852. [Nicholas Seckar]
|
||||
|
||||
* Use Array#assoc in ActiveSupport::OrderedHash. [Mauricio Fernandez]
|
||||
|
||||
@@ -11,7 +11,6 @@ Inflector.inflections do |inflect|
|
||||
inflect.plural(/(?:([^f])fe|([lr])f)$/i, '\1\2ves')
|
||||
inflect.plural(/(hive)$/i, '\1s')
|
||||
inflect.plural(/([^aeiouy]|qu)y$/i, '\1ies')
|
||||
inflect.plural(/([^aeiouy]|qu)ies$/i, '\1y')
|
||||
inflect.plural(/(x|ch|ss|sh)$/i, '\1es')
|
||||
inflect.plural(/(matr|vert|ind)ix|ex$/i, '\1ices')
|
||||
inflect.plural(/([m|l])ouse$/i, '\1ice')
|
||||
|
||||
Reference in New Issue
Block a user