aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/inflector
diff options
context:
space:
mode:
authorStefan Huber <msnexploder@gmail.com>2011-04-25 02:17:22 +0100
committerStefan Huber <msnexploder@gmail.com>2011-04-25 02:17:22 +0100
commitba9891f13da80bf5991c50ce53ab9db3fe852600 (patch)
tree101f35e7d8ff32d0356277d980a94f27e436c7bc /activesupport/lib/active_support/inflector
parentbf40c729c6930ffc711760948701e5edf3edb25b (diff)
downloadrails-ba9891f13da80bf5991c50ce53ab9db3fe852600.tar.gz
rails-ba9891f13da80bf5991c50ce53ab9db3fe852600.tar.bz2
rails-ba9891f13da80bf5991c50ce53ab9db3fe852600.zip
proper reset all inflector scopes
Diffstat (limited to 'activesupport/lib/active_support/inflector')
-rw-r--r--activesupport/lib/active_support/inflector/inflections.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/inflector/inflections.rb b/activesupport/lib/active_support/inflector/inflections.rb
index e136e4c5b3..d5d55b7207 100644
--- a/activesupport/lib/active_support/inflector/inflections.rb
+++ b/activesupport/lib/active_support/inflector/inflections.rb
@@ -96,7 +96,7 @@ module ActiveSupport
def clear(scope = :all)
case scope
when :all
- @plurals, @singulars, @uncountables = [], [], []
+ @plurals, @singulars, @uncountables, @humans = [], [], [], []
else
instance_variable_set "@#{scope}", []
end