Advanced JSON Input and Output
Once we start passing options around to to_json, it's time to find a better tool for the job
We'll use ActiveModel::Serializers
Add the gem active_record_serializers to your Gemfile and bundle
We need to disable ro...
This is a companion discussion topic for the original entry at https://thoughtbot.com/upcase/videos/advanced-json-input-and-output