Oops, I would like to render a json using the json_api ( link ) pattern using Rails Serializer ( link ).
In my controler I'm rendering something similar to this:
render json: {'user': {name: 'Peter' }}
However, when I render this JSON, i...
asked by
11.05.2017 / 22:45