module Hashie::Extensions::MethodOverridingWriter

def method_missing(name, *args)

def method_missing(name, *args)
  if args.size == 1 && name.to_s =~ /(.*)=$/
    key = Regexp.last_match[1]
    redefine_method(key) if method?(key) && !already_overridden?(key)
    return self[convert_key(key)] = args.first
  end
  super
end