diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2010-04-22 09:47:40 -0700 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2010-04-22 10:00:23 -0700 |
commit | d692e6be3091dd114afa0cce2778787d3af93e83 (patch) | |
tree | 329c241653fdfd2e80ffc700c6da0247be1ae5e7 /activesupport/lib | |
parent | ebf9820f7eb83476d200c71915dd0e8a056bcbab (diff) | |
download | rails-d692e6be3091dd114afa0cce2778787d3af93e83.tar.gz rails-d692e6be3091dd114afa0cce2778787d3af93e83.tar.bz2 rails-d692e6be3091dd114afa0cce2778787d3af93e83.zip |
Restore HWIA#stringify_keys! and update changelog
Diffstat (limited to 'activesupport/lib')
-rw-r--r-- | activesupport/lib/active_support/hash_with_indifferent_access.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activesupport/lib/active_support/hash_with_indifferent_access.rb b/activesupport/lib/active_support/hash_with_indifferent_access.rb index 4de399a21a..21407327cd 100644 --- a/activesupport/lib/active_support/hash_with_indifferent_access.rb +++ b/activesupport/lib/active_support/hash_with_indifferent_access.rb @@ -111,8 +111,8 @@ module ActiveSupport super(convert_key(key)) end - undef :stringify_keys! - def stringify_keys; to_hash.stringify_keys end + def stringify_keys!; self end + def stringify_keys; to_hash end undef :symbolize_keys! def symbolize_keys; to_hash.symbolize_keys end def to_options!; self end |