class ActiveSupport::HashWithIndifferentAccess
def except(*keys)
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) dup.except!(*keys) end