diff options
| -rw-r--r-- | activesupport/lib/active_support/hash_with_indifferent_access.rb | 3 | 
1 files changed, 3 insertions, 0 deletions
| diff --git a/activesupport/lib/active_support/hash_with_indifferent_access.rb b/activesupport/lib/active_support/hash_with_indifferent_access.rb index 3a2b2652c4..a4e366f80f 100644 --- a/activesupport/lib/active_support/hash_with_indifferent_access.rb +++ b/activesupport/lib/active_support/hash_with_indifferent_access.rb @@ -293,6 +293,9 @@ module ActiveSupport        super(convert_key(key))      end +    def except(*keys) +      slice(*self.keys - keys.map { |key| convert_key(key) }) +    end      alias_method :without, :except      def stringify_keys!; self end | 
