aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/core_ext/hash
diff options
context:
space:
mode:
authorJosé Valim <jose.valim@gmail.com>2010-06-12 09:48:49 +0200
committerJosé Valim <jose.valim@gmail.com>2010-06-12 09:54:18 +0200
commit1eecd9483b0439ab4913beea36f0d0e2aa0518c7 (patch)
treeb3c2d31106fe5e47505dba4bf8dd1fcff90881eb /activesupport/lib/active_support/core_ext/hash
parent50ec0d9b2ec864c819cf7b053c756c09b2367379 (diff)
downloadrails-1eecd9483b0439ab4913beea36f0d0e2aa0518c7.tar.gz
rails-1eecd9483b0439ab4913beea36f0d0e2aa0518c7.tar.bz2
rails-1eecd9483b0439ab4913beea36f0d0e2aa0518c7.zip
No need to call convert_key before except.
Diffstat (limited to 'activesupport/lib/active_support/core_ext/hash')
-rw-r--r--activesupport/lib/active_support/core_ext/hash/except.rb1
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