class ActiveSupport::HashWithIndifferentAccess

def except(*keys)

hash # => { a: "x", b: "y", c: 10 }.with_indifferent_access
hash.except(:a, "b") # => {c: 10}.with_indifferent_access
hash = { a: "x", b: "y", c: 10 }.with_indifferent_access
Returns a hash with indifferent access that includes everything except given keys.
def except(*keys)
  slice(*self.keys - keys.map { |key| convert_key(key) })
end