aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2010-04-22 10:07:33 -0700
committerJeremy Kemper <jeremy@bitsweat.net>2010-04-22 10:07:33 -0700
commitc976784381d694df8090ad8a16c2648e93a2bd12 (patch)
tree593e9bf887e2ffc904b8f00914ba5fdab65154fe /activesupport/lib
parentd692e6be3091dd114afa0cce2778787d3af93e83 (diff)
downloadrails-c976784381d694df8090ad8a16c2648e93a2bd12.tar.gz
rails-c976784381d694df8090ad8a16c2648e93a2bd12.tar.bz2
rails-c976784381d694df8090ad8a16c2648e93a2bd12.zip
Change HWIA#stringify_keys to return a HWIA not a Hash
Diffstat (limited to 'activesupport/lib')
-rw-r--r--activesupport/lib/active_support/hash_with_indifferent_access.rb2
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 21407327cd..6b7a897cf2 100644
--- a/activesupport/lib/active_support/hash_with_indifferent_access.rb
+++ b/activesupport/lib/active_support/hash_with_indifferent_access.rb
@@ -112,7 +112,7 @@ module ActiveSupport
end
def stringify_keys!; self end
- def stringify_keys; to_hash end
+ def stringify_keys; dup end
undef :symbolize_keys!
def symbolize_keys; to_hash.symbolize_keys end
def to_options!; self end