Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Explicit dependency on Object#instance_values extension

  • Loading branch information...
commit cb5b2ca5c1151d8e492144f66c3c330160e90b4f 1 parent b4af873
@jeremy jeremy authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  activesupport/lib/active_support/json/encoders/object.rb
View
2  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 = {})
Please sign in to comment.
Something went wrong with that request. Please try again.