
Issue #19607 has been updated by ioquatix (Samuel Williams). One part of my motivation for creating this issue is to bring attention to the following inconsistencies: - https://bugs.ruby-lang.org/issues/15541 - https://bugs.ruby-lang.org/issues/19591 I personally agree with the OP whom stated that `symbolize_keys` is a much more intuitive option name. ---------------------------------------- Feature #19607: Introduce `Hash#symbolize_keys`. https://bugs.ruby-lang.org/issues/19607#change-102844 * Author: ioquatix (Samuel Williams) * Status: Open * Priority: Normal ---------------------------------------- This is a very common operation. It can currently be implemented using `Hash#transform_keys(&:to_sym)`. It's currently provided by Rails as `Hash#symbolize_keys` and `Hash#symbolize_keys!`. Proposed implementation is identical to Rails implementation: https://github.com/rails/rails/blob/539144d2d61770dab66c8643e744441e52538e09... For completeness we could also consider adding `stringify_keys` but I think that's less frequently used. -- https://bugs.ruby-lang.org/