Skip to content
Browse files

Correct result, previously showing wrong result

  • Loading branch information...
1 parent ed38c5a commit f02346b18e8837c2d217619b6c84aebcd50e11fa @akshay-vishnoi akshay-vishnoi 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 f02346b

Please sign in to comment.
Something went wrong with that request. Please try again.