active_model_serializers/lib
Lee Richmond a77dfdaa85 Ensure valid jsonapi when blank relationship (#1930)
If you specify include_data false, and do not have any links for this
relationship, we would output something like:

`{ relationships: { comments: {} } }`

This is not valid jsonapi. We will now render

`{ relationships: { comments: { meta: {} } } }`

Instead.

Relevant jsonapi spec: http://jsonapi.org/format/#document-resource-object-relationships
2016-09-19 14:10:50 -04:00
..
action_controller re: RuboCop: Bulk minor style corrections 2016-06-20 22:12:16 +01:00
active_model Disable pagination links via config 2016-09-06 15:06:54 -04:00
active_model_serializers Ensure valid jsonapi when blank relationship (#1930) 2016-09-19 14:10:50 -04:00
generators/rails Ensure generator picks up ApplicationSerializer 2016-09-05 19:00:25 -04:00
grape re: RuboCop - Use nested module/class definition instead of compact style. 2016-06-20 22:15:20 +01:00
active_model_serializers.rb Extract IncludeTree. (#1685) 2016-05-28 10:07:11 -04:00