From ffbaf1c5ff50a12514405ced230a2bd76f6405fe Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Sun, 11 Sep 2005 09:30:11 +0000 Subject: 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 --- activesupport/lib/active_support/inflections.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'activesupport/lib/active_support/inflections.rb') diff --git a/activesupport/lib/active_support/inflections.rb b/activesupport/lib/active_support/inflections.rb index f0e6449ceb..100ad411c3 100644 --- a/activesupport/lib/active_support/inflections.rb +++ b/activesupport/lib/active_support/inflections.rb @@ -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 \ No newline at end of file -- cgit v1.2.3