aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/core_ext/hash/indifferent_access.rb
diff options
context:
space:
mode:
authorAkshay Vishnoi <akshay.vishnoi@vinsol.com>2014-06-04 21:43:41 +0530
committerAkshay Vishnoi <akshay.vishnoi@vinsol.com>2014-06-04 21:43:41 +0530
commitf02346b18e8837c2d217619b6c84aebcd50e11fa (patch)
tree71f2976cb5460a500ad9ce57cfc8e9b69766e8d9 /activesupport/lib/active_support/core_ext/hash/indifferent_access.rb
parented38c5a4854e32fe9e57975812b45a8bb67a8719 (diff)
downloadrails-f02346b18e8837c2d217619b6c84aebcd50e11fa.tar.gz
rails-f02346b18e8837c2d217619b6c84aebcd50e11fa.tar.bz2
rails-f02346b18e8837c2d217619b6c84aebcd50e11fa.zip
Correct result, previously showing wrong result
Diffstat (limited to 'activesupport/lib/active_support/core_ext/hash/indifferent_access.rb')
-rw-r--r--activesupport/lib/active_support/core_ext/hash/indifferent_access.rb2
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