From fb3ea8b8cb324d174e801d27dc15315b9358486f Mon Sep 17 00:00:00 2001 From: David Lee Date: Tue, 17 May 2011 15:53:54 -0700 Subject: Use dup to preserve previous behavior --- activesupport/lib/active_support/hash_with_indifferent_access.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'activesupport/lib/active_support') diff --git a/activesupport/lib/active_support/hash_with_indifferent_access.rb b/activesupport/lib/active_support/hash_with_indifferent_access.rb index 39ebc1ec82..15a3717ea1 100644 --- a/activesupport/lib/active_support/hash_with_indifferent_access.rb +++ b/activesupport/lib/active_support/hash_with_indifferent_access.rb @@ -11,7 +11,7 @@ module ActiveSupport end def with_indifferent_access - self + dup end def initialize(constructor = {}) -- cgit v1.2.3