getsentry/raven-ruby — pull request #118 by zimbatm (2013-07-08 18:27:05+00:00)
Title: Use our own JSON encoder

The goal of raven is to report exceptions. By introducing our own tuned version of OkJson that coerces values to a serialisable state we can guarantee that a JSON is going to be generated.

This branch fixes #97.

It also avoids issues with ActiveRecord's #to_json/#as_json that trigger "IOError: not opened for reading" when serialising an IO.