diff options
author | Gregg Pollack <Gregg@EnvyLabs.com> | 2011-08-07 14:19:25 -0400 |
---|---|---|
committer | Gregg Pollack <Gregg@EnvyLabs.com> | 2011-08-07 14:20:03 -0400 |
commit | 554232e481a2d6e313d798fad59ccdca03f05ef2 (patch) | |
tree | cd38c73bdf3a7ba3d417106ade24129bcb19fd78 /activesupport | |
parent | 9c205624ee4f5e58915d143c49ab05d190c48c99 (diff) | |
download | rails-554232e481a2d6e313d798fad59ccdca03f05ef2.tar.gz rails-554232e481a2d6e313d798fad59ccdca03f05ef2.tar.bz2 rails-554232e481a2d6e313d798fad59ccdca03f05ef2.zip |
Added irregular zombie inflection, so zombies no longer gets singularized into zomby
Diffstat (limited to 'activesupport')
-rw-r--r-- | activesupport/lib/active_support/inflections.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/activesupport/lib/active_support/inflections.rb b/activesupport/lib/active_support/inflections.rb index 06ceccdb22..daf2a1e1d9 100644 --- a/activesupport/lib/active_support/inflections.rb +++ b/activesupport/lib/active_support/inflections.rb @@ -54,6 +54,7 @@ module ActiveSupport 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)) end |