I am testing active-model-serializer output in the rails console and I am looking for a way to prettify the output. The the only solution I have found so far is:
ap JSON.parse(ProfileSerializer.new(p).to_json)
That seems like a roundabout approach. Is there a "better way"?