diff options
author | Stefan Huber <msnexploder@gmail.com> | 2011-04-25 02:17:22 +0100 |
---|---|---|
committer | Stefan Huber <msnexploder@gmail.com> | 2011-04-25 02:17:22 +0100 |
commit | ba9891f13da80bf5991c50ce53ab9db3fe852600 (patch) | |
tree | 101f35e7d8ff32d0356277d980a94f27e436c7bc /activesupport/lib/active_support/inflector | |
parent | bf40c729c6930ffc711760948701e5edf3edb25b (diff) | |
download | rails-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.rb | 2 |
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 |