Permalink
Browse files

Merge pull request #15505 from akshay-vishnoi/doc_changes

Correct result, previously showing wrong result
  • Loading branch information...
2 parents ed38c5a + f02346b commit 361b68fa1974237e392de184bc4486d52b383372 @spastorino spastorino committed Jun 4, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 activesupport/lib/active_support/core_ext/hash/indifferent_access.rb
View
2 activesupport/lib/active_support/core_ext/hash/indifferent_access.rb
@@ -18,6 +18,6 @@ def with_indifferent_access
#
# 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

0 comments on commit 361b68f

Please sign in to comment.