diff options
author | Santiago Pastorino <santiago@wyeworks.com> | 2014-06-04 13:55:07 -0300 |
---|---|---|
committer | Santiago Pastorino <santiago@wyeworks.com> | 2014-06-04 13:55:07 -0300 |
commit | 361b68fa1974237e392de184bc4486d52b383372 (patch) | |
tree | 71f2976cb5460a500ad9ce57cfc8e9b69766e8d9 | |
parent | ed38c5a4854e32fe9e57975812b45a8bb67a8719 (diff) | |
parent | f02346b18e8837c2d217619b6c84aebcd50e11fa (diff) | |
download | rails-361b68fa1974237e392de184bc4486d52b383372.tar.gz rails-361b68fa1974237e392de184bc4486d52b383372.tar.bz2 rails-361b68fa1974237e392de184bc4486d52b383372.zip |
Merge pull request #15505 from akshay-vishnoi/doc_changes
Correct result, previously showing wrong result
-rw-r--r-- | activesupport/lib/active_support/core_ext/hash/indifferent_access.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/core_ext/hash/indifferent_access.rb b/activesupport/lib/active_support/core_ext/hash/indifferent_access.rb index 970d6faa1d..28cb3e2a3b 100644 --- a/activesupport/lib/active_support/core_ext/hash/indifferent_access.rb +++ b/activesupport/lib/active_support/core_ext/hash/indifferent_access.rb @@ -18,6 +18,6 @@ class Hash # # b = { b: 1 } # { a: b }.with_indifferent_access['a'] # calls b.nested_under_indifferent_access - # # => {"b"=>32} + # # => {"b"=>1} alias nested_under_indifferent_access with_indifferent_access end |