mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Added irregular inflection sex => sexes #1826 [rails@electricvisions.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2200 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
parent
17250c9157
commit
ffbaf1c5ff
1 changed files with 1 additions and 0 deletions
|
@ -45,6 +45,7 @@ Inflector.inflections do |inflect|
|
|||
inflect.irregular 'person', 'people'
|
||||
inflect.irregular 'man', 'men'
|
||||
inflect.irregular 'child', 'children'
|
||||
inflect.irregular 'sex', 'sexes'
|
||||
|
||||
inflect.uncountable %w( equipment information rice money species series fish sheep )
|
||||
end
|
Loading…
Reference in a new issue