diff options
author | David Lee <davidomundo@gmail.com> | 2011-05-17 15:53:54 -0700 |
---|---|---|
committer | David Lee <davidomundo@gmail.com> | 2011-05-17 15:54:22 -0700 |
commit | fb3ea8b8cb324d174e801d27dc15315b9358486f (patch) | |
tree | 5072e533e488c2916bf31adcffd2813a82c453b6 /activesupport/lib/active_support | |
parent | 0a070a2444a5e2167e208c0b327af37d757ef70a (diff) | |
download | rails-fb3ea8b8cb324d174e801d27dc15315b9358486f.tar.gz rails-fb3ea8b8cb324d174e801d27dc15315b9358486f.tar.bz2 rails-fb3ea8b8cb324d174e801d27dc15315b9358486f.zip |
Use dup to preserve previous behavior
Diffstat (limited to 'activesupport/lib/active_support')
-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 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 = {}) |