diff options
author | Vipul A M <vipulnsward@gmail.com> | 2013-04-19 16:42:24 +0530 |
---|---|---|
committer | Vipul A M <vipulnsward@gmail.com> | 2013-04-19 19:56:29 +0530 |
commit | c52c2682bf03192755ccf8c15ab641090815cacf (patch) | |
tree | 0daeaf1e11199bfac41c8d038705b34ed27a65e5 /activesupport/lib | |
parent | 30f9237b8eb4e445f5e1ce898581dff6675c28ee (diff) | |
download | rails-c52c2682bf03192755ccf8c15ab641090815cacf.tar.gz rails-c52c2682bf03192755ccf8c15ab641090815cacf.tar.bz2 rails-c52c2682bf03192755ccf8c15ab641090815cacf.zip |
symbolize_keys => symbolize_keys! on new hash;
"There're" => There are for better readability
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 |