aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support
diff options
context:
space:
mode:
authorSantiago Pastorino <santiago@wyeworks.com>2012-04-08 22:10:03 -0300
committerSantiago Pastorino <santiago@wyeworks.com>2012-04-08 22:10:03 -0300
commit2e431599596913e24d7a5b053b632d0eae83517b (patch)
treedb93b36aacc249fa8fc2d80abc40c89dd9e87ac8 /activesupport/lib/active_support
parent9f37f335f23b7e4407161d501e5f7d508e3ab7ec (diff)
downloadrails-2e431599596913e24d7a5b053b632d0eae83517b.tar.gz
rails-2e431599596913e24d7a5b053b632d0eae83517b.tar.bz2
rails-2e431599596913e24d7a5b053b632d0eae83517b.zip
Remove Fixnum#to_sym support in 1.8.7
Diffstat (limited to 'activesupport/lib/active_support')
-rw-r--r--activesupport/lib/active_support/core_ext/hash/keys.rb2
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