diff options
author | José Valim <jose.valim@gmail.com> | 2010-06-12 09:48:49 +0200 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2010-06-12 09:54:18 +0200 |
commit | 1eecd9483b0439ab4913beea36f0d0e2aa0518c7 (patch) | |
tree | b3c2d31106fe5e47505dba4bf8dd1fcff90881eb /activesupport | |
parent | 50ec0d9b2ec864c819cf7b053c756c09b2367379 (diff) | |
download | rails-1eecd9483b0439ab4913beea36f0d0e2aa0518c7.tar.gz rails-1eecd9483b0439ab4913beea36f0d0e2aa0518c7.tar.bz2 rails-1eecd9483b0439ab4913beea36f0d0e2aa0518c7.zip |
No need to call convert_key before except.
Diffstat (limited to 'activesupport')
-rw-r--r-- | activesupport/lib/active_support/core_ext/hash/except.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/core_ext/hash/except.rb b/activesupport/lib/active_support/core_ext/hash/except.rb index 207801d3a7..89729df258 100644 --- a/activesupport/lib/active_support/core_ext/hash/except.rb +++ b/activesupport/lib/active_support/core_ext/hash/except.rb @@ -17,7 +17,6 @@ class Hash # Replaces the hash without the given keys. def except!(*keys) - keys.map! { |key| convert_key(key) } if respond_to?(:convert_key) keys.each { |key| delete(key) } self end |