projects
/
depot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Froze rails gems
[depot.git]
/
vendor
/
rails
/
activesupport
/
lib
/
active_support
/
json
/
encoders
/
object.rb
diff --git a/vendor/rails/activesupport/lib/active_support/json/encoders/object.rb
b/vendor/rails/activesupport/lib/active_support/json/encoders/object.rb
new file mode 100644
(file)
index 0000000..
ca215d4
--- /dev/null
+++ b/
vendor/rails/activesupport/lib/active_support/json/encoders/object.rb
@@ -0,0
+1,6
@@
+class Object
+ # Dumps object in JSON (JavaScript Object Notation). See www.json.org for more info.
+ def to_json(options = {})
+ ActiveSupport::JSON.encode(instance_values, options)
+ end
+end