aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/inflections.rb
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2005-09-11 09:30:11 +0000
committerDavid Heinemeier Hansson <david@loudthinking.com>2005-09-11 09:30:11 +0000
commitffbaf1c5ff50a12514405ced230a2bd76f6405fe (patch)
treed50eaa5f3a946aafacf3f5cbd0ddb2b2fc83cdef /activesupport/lib/active_support/inflections.rb
parent17250c91570d3ba20a4dbbe5746d4558f1a34c87 (diff)
downloadrails-ffbaf1c5ff50a12514405ced230a2bd76f6405fe.tar.gz
rails-ffbaf1c5ff50a12514405ced230a2bd76f6405fe.tar.bz2
rails-ffbaf1c5ff50a12514405ced230a2bd76f6405fe.zip
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
Diffstat (limited to 'activesupport/lib/active_support/inflections.rb')
-rw-r--r--activesupport/lib/active_support/inflections.rb1
1 files changed, 1 insertions, 0 deletions
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