Skip to content
Browse files

Don't have a cow, man!

Remove cow => kine from default inflections but leave the test case
in place to prevent regression of the [old Trac ticket 4929][1].

  • Loading branch information...
1 parent 42f01e9 commit c300dca9963bda78b8f358dbcb59cabcdc5e1dc9 @pixeltrix pixeltrix committed Jul 30, 2013
Showing with 0 additions and 1 deletion.
  1. +0 −1 activesupport/lib/active_support/inflections.rb
1 activesupport/lib/active_support/inflections.rb
@@ -57,7 +57,6 @@ module ActiveSupport
inflect.irregular('child', 'children')
inflect.irregular('sex', 'sexes')
inflect.irregular('move', 'moves')
- inflect.irregular('cow', 'kine')
inflect.irregular('zombie', 'zombies')
inflect.uncountable(%w(equipment information rice money species series fish sheep jeans police))

4 comments on commit c300dca

Ruby on Rails member
jeremy commented on c300dca Dec 18, 2013

An inflection too far! Don't tip my kine.

rdpoor commented on c300dca Apr 19, 2014

I agree that the cow<=>kine inflection was too cute, but there's still a problem in the implementation, e.g. "human".pluralize => "humen" and "abdomen".singularize => "abdoman". See #14092 (comment)

rsim commented on c300dca Dec 10, 2014

In Rails 3.2 due to "cow" => "kine" got an issue that "Moscow".pluralize => "Moskine" :)


Well, what is the plural of Moscow?

Please sign in to comment.
Something went wrong with that request. Please try again.