aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2009-03-28 23:52:15 -0700
committerJeremy Kemper <jeremy@bitsweat.net>2009-03-28 23:52:15 -0700
commitcb5b2ca5c1151d8e492144f66c3c330160e90b4f (patch)
tree1ec193c0a8535cc033aaf03e436d2fef54ec7d40 /activesupport/lib
parentb4af87317beee4d490c5a39eb770171bd8551baa (diff)
downloadrails-cb5b2ca5c1151d8e492144f66c3c330160e90b4f.tar.gz
rails-cb5b2ca5c1151d8e492144f66c3c330160e90b4f.tar.bz2
rails-cb5b2ca5c1151d8e492144f66c3c330160e90b4f.zip
Explicit dependency on Object#instance_values extension
Diffstat (limited to 'activesupport/lib')
-rw-r--r--activesupport/lib/active_support/json/encoders/object.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/activesupport/lib/active_support/json/encoders/object.rb b/activesupport/lib/active_support/json/encoders/object.rb
index ca215d4964..0475967aee 100644
--- a/activesupport/lib/active_support/json/encoders/object.rb
+++ b/activesupport/lib/active_support/json/encoders/object.rb
@@ -1,3 +1,5 @@
+require 'active_support/core_ext/object/instance_variables'
+
class Object
# Dumps object in JSON (JavaScript Object Notation). See www.json.org for more info.
def to_json(options = {})