aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib
diff options
context:
space:
mode:
authorAlex Nisnevich <alex.nisnevich@gmail.com>2012-06-28 20:10:58 -0700
committerAlex Nisnevich <alex.nisnevich@gmail.com>2012-06-28 20:10:58 -0700
commit32c28e8214940fe6b06043b280e8d342e16eb3c6 (patch)
tree1a69f3fd16b7578cfad2f329751677f0a31f2e3b /activesupport/lib
parenta9bb1364b599a6f5196dd0132dfe5a941a7649e1 (diff)
downloadrails-32c28e8214940fe6b06043b280e8d342e16eb3c6.tar.gz
rails-32c28e8214940fe6b06043b280e8d342e16eb3c6.tar.bz2
rails-32c28e8214940fe6b06043b280e8d342e16eb3c6.zip
Remove mention of `convert_key` now that it's been taken out in 1eecd9483b0439ab4913beea36f0d0e2aa0518c7
Diffstat (limited to 'activesupport/lib')
-rw-r--r--activesupport/lib/active_support/core_ext/hash/except.rb7
1 files changed, 0 insertions, 7 deletions
diff --git a/activesupport/lib/active_support/core_ext/hash/except.rb b/activesupport/lib/active_support/core_ext/hash/except.rb
index 5a61906222..c82da3c6c2 100644
--- a/activesupport/lib/active_support/core_ext/hash/except.rb
+++ b/activesupport/lib/active_support/core_ext/hash/except.rb
@@ -4,13 +4,6 @@ class Hash
#
# @person.update_attributes(params[:person].except(:admin))
#
- # If the receiver responds to +convert_key+, the method is called on each of the
- # arguments. This allows +except+ to play nice with hashes with indifferent access
- # for instance:
- #
- # {:a => 1}.with_indifferent_access.except(:a) # => {}
- # {:a => 1}.with_indifferent_access.except('a') # => {}
- #
def except(*keys)
dup.except!(*keys)
end