diff options
author | Santiago Pastorino <santiago@wyeworks.com> | 2012-04-08 22:10:03 -0300 |
---|---|---|
committer | Santiago Pastorino <santiago@wyeworks.com> | 2012-04-08 22:10:03 -0300 |
commit | 2e431599596913e24d7a5b053b632d0eae83517b (patch) | |
tree | db93b36aacc249fa8fc2d80abc40c89dd9e87ac8 /activesupport/lib | |
parent | 9f37f335f23b7e4407161d501e5f7d508e3ab7ec (diff) | |
download | rails-2e431599596913e24d7a5b053b632d0eae83517b.tar.gz rails-2e431599596913e24d7a5b053b632d0eae83517b.tar.bz2 rails-2e431599596913e24d7a5b053b632d0eae83517b.zip |
Remove Fixnum#to_sym support in 1.8.7
Diffstat (limited to 'activesupport/lib')
-rw-r--r-- | activesupport/lib/active_support/core_ext/hash/keys.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/core_ext/hash/keys.rb b/activesupport/lib/active_support/core_ext/hash/keys.rb index d8748b1138..da7c3dfbe8 100644 --- a/activesupport/lib/active_support/core_ext/hash/keys.rb +++ b/activesupport/lib/active_support/core_ext/hash/keys.rb @@ -22,7 +22,7 @@ class Hash # to +to_sym+. def symbolize_keys! keys.each do |key| - self[(key.to_sym rescue key) || key] = delete(key) + self[(key.to_sym rescue key)] = delete(key) end self end |