DISQUS

DISQUS Hello! Life is grand is using DISQUS, a powerful comment system, to manage its comments. Learn more.

Community Page

Jump to original thread »
Author

Valid JSON from Rails

Started by paulmwatson · 10 months ago

By default Ruby on Rails emits invalid JSON when you use the to_json method. Most of the libraries Rails devs are using to parse JSON, e.g. jQuery or Prototype, work fine with the “invalid” JSON but the JSON Ruby library doesn’t. It requires valid JSON.
Than ... Continue reading »

4 comments

Add New Comment

Returning? Login