Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Remove mention of `convert_key` now that it's been taken out in 1eecd94

  • Loading branch information...
commit 32c28e8214940fe6b06043b280e8d342e16eb3c6 1 parent a9bb136
@AlexNisnevich AlexNisnevich authored
Showing with 0 additions and 7 deletions.
  1. +0 −7 activesupport/lib/active_support/core_ext/hash/except.rb
View
7 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
Please sign in to comment.
Something went wrong with that request. Please try again.