diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2013-04-19 10:32:33 -0700 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2013-04-19 10:32:33 -0700 |
commit | 08c6df8532a1884050c8e9087e9fce9df6528ae2 (patch) | |
tree | 95c3a4279217cc21901ae2efc32219c12e9e5a8a /activesupport/lib | |
parent | fc5090c937db4d3795aa97d9130747ab6a1de8b0 (diff) | |
parent | c52c2682bf03192755ccf8c15ab641090815cacf (diff) | |
download | rails-08c6df8532a1884050c8e9087e9fce9df6528ae2.tar.gz rails-08c6df8532a1884050c8e9087e9fce9df6528ae2.tar.bz2 rails-08c6df8532a1884050c8e9087e9fce9df6528ae2.zip |
Merge pull request #10267 from vipulnsward/use_destructive_method
symbolize_keys => symbolize_keys! on new hash; change sentence
Diffstat (limited to 'activesupport/lib')
-rw-r--r-- | activesupport/lib/active_support/hash_with_indifferent_access.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/hash_with_indifferent_access.rb b/activesupport/lib/active_support/hash_with_indifferent_access.rb index 837db05dcc..1b20592e4c 100644 --- a/activesupport/lib/active_support/hash_with_indifferent_access.rb +++ b/activesupport/lib/active_support/hash_with_indifferent_access.rb @@ -223,7 +223,7 @@ module ActiveSupport def deep_stringify_keys; dup end undef :symbolize_keys! undef :deep_symbolize_keys! - def symbolize_keys; to_hash.symbolize_keys end + def symbolize_keys; to_hash.symbolize_keys! end def deep_symbolize_keys; to_hash.deep_symbolize_keys end def to_options!; self end |