diff options
author | Nick Weiland <nickweiland@gmail.com> | 2018-10-31 22:58:32 -0700 |
---|---|---|
committer | Nick Weiland <nickweiland@gmail.com> | 2018-11-01 09:12:56 -0700 |
commit | 4ba5386e6c647b285490b0a9f44fcf617daeda41 (patch) | |
tree | bb7d3878ce4464f69d25a28a6e0e31be0e036df2 /activerecord/test/models/keyboard.rb | |
parent | f98901c29004904eae6f26bf84e312ad5ecd211a (diff) | |
download | rails-4ba5386e6c647b285490b0a9f44fcf617daeda41.tar.gz rails-4ba5386e6c647b285490b0a9f44fcf617daeda41.tar.bz2 rails-4ba5386e6c647b285490b0a9f44fcf617daeda41.zip |
Make #to_options an alias for #symbolize_keys
Fixes #34359
Prior to 5.2.0 (2cad8d7), HashWithIndifferentAccess#to_options acted as
an alias to HashWithIndifferentAccess#symbolize_keys. Now, #to_options
returns an instance of HashWithIndifferentAccess while #symbolize_keys
returns and instance of Hash.
This pr makes it so HashWithIndifferentAccess#to_options acts as an
alias for HashWithIndifferentAccess#symbolize_keys once again.
Diffstat (limited to 'activerecord/test/models/keyboard.rb')
0 files changed, 0 insertions, 0 deletions