3 ms·
It's not required at all! Rails adds a completely avoidable massive overhead because of the way it overrides to_json see: https://twitter.com/jashmatthews/statu
by jashmatthews 8y ago
It's not required at all! Rails adds a completely avoidable massive overhead because of the way it overrides to_json see: https://twitter.com/jashmatthews/status/967423661908070401 https://twitter.com/jashmatthews/status/967423661908070401
- vinceguidry 8y agoHave you ever used Ruby's JSON.dump? The second it runs into anything that it can't convert, you get "#<Object:0x00007fab05133078>" everywhere in your output.
- jashmatthews 8y agoOf course! We use Oj.dump in Rails compatibility mode in production at ChartMogul.