aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/json
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2009-03-28 23:51:37 -0700
committerJeremy Kemper <jeremy@bitsweat.net>2009-03-28 23:51:37 -0700
commitb4af87317beee4d490c5a39eb770171bd8551baa (patch)
treeeb76a598b243332e2588ccf0a6f2a9860a8caac1 /activesupport/lib/active_support/json
parentd41387fde7fca23316d913b2628e2b85f58a85a5 (diff)
downloadrails-b4af87317beee4d490c5a39eb770171bd8551baa.tar.gz
rails-b4af87317beee4d490c5a39eb770171bd8551baa.tar.bz2
rails-b4af87317beee4d490c5a39eb770171bd8551baa.zip
Explicit dependency on Array#wrap extension
Diffstat (limited to 'activesupport/lib/active_support/json')
-rw-r--r--activesupport/lib/active_support/json/encoders/hash.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/activesupport/lib/active_support/json/encoders/hash.rb b/activesupport/lib/active_support/json/encoders/hash.rb
index e38b4f3e16..d87b880743 100644
--- a/activesupport/lib/active_support/json/encoders/hash.rb
+++ b/activesupport/lib/active_support/json/encoders/hash.rb
@@ -1,3 +1,5 @@
+require 'active_support/core_ext/array/wrap'
+
class Hash
# Returns a JSON string representing the hash.
#