Froze rails gems
[depot.git] / vendor / rails / activesupport / lib / active_support / json / encoders / symbol.rb
diff --git a/vendor/rails/activesupport/lib/active_support/json/encoders/symbol.rb b/vendor/rails/activesupport/lib/active_support/json/encoders/symbol.rb
new file mode 100644 (file)
index 0000000..485112f
--- /dev/null
@@ -0,0 +1,5 @@
+class Symbol
+  def to_json(options = {}) #:nodoc:
+    ActiveSupport::JSON.encode(to_s, options)
+  end
+end