diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2009-03-28 23:52:15 -0700 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2009-03-28 23:52:15 -0700 |
commit | cb5b2ca5c1151d8e492144f66c3c330160e90b4f (patch) | |
tree | 1ec193c0a8535cc033aaf03e436d2fef54ec7d40 | |
parent | b4af87317beee4d490c5a39eb770171bd8551baa (diff) | |
download | rails-cb5b2ca5c1151d8e492144f66c3c330160e90b4f.tar.gz rails-cb5b2ca5c1151d8e492144f66c3c330160e90b4f.tar.bz2 rails-cb5b2ca5c1151d8e492144f66c3c330160e90b4f.zip |
Explicit dependency on Object#instance_values extension
-rw-r--r-- | activesupport/lib/active_support/json/encoders/object.rb | 2 |
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 = {}) |