diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2007-06-23 16:47:47 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2007-06-23 16:47:47 +0000 |
commit | 46b0e7d1d77c77d013235e3bf99d1afb89513cc9 (patch) | |
tree | ec6e353610a5feb717e9e1639b914e1a548d1cca /activesupport/test | |
parent | 73fba4faf13394540489063247a887a0d396af2f (diff) | |
download | rails-46b0e7d1d77c77d013235e3bf99d1afb89513cc9.tar.gz rails-46b0e7d1d77c77d013235e3bf99d1afb89513cc9.tar.bz2 rails-46b0e7d1d77c77d013235e3bf99d1afb89513cc9.zip |
Added support for pluralization with a different starting letter than the singular version (cow/kine) (closes #4929) [norri_b/hasmanyjosh]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7092 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activesupport/test')
-rw-r--r-- | activesupport/test/inflector_test.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/activesupport/test/inflector_test.rb b/activesupport/test/inflector_test.rb index 9849e0b52b..684150a925 100644 --- a/activesupport/test/inflector_test.rb +++ b/activesupport/test/inflector_test.rb @@ -104,7 +104,9 @@ class InflectorTest < Test::Unit::TestCase "horse" => "horses", "prize" => "prizes", - "edge" => "edges" + "edge" => "edges", + + "cow" => "kine" } CamelToUnderscore = { |