Fix docs for deserialization (#1768)

I found in the tests that deserialization expects relationships to be under a `relationships` key.
https://github.com/rails-api/active_model_serializers/blob/master/test/action_controller/json_api/deserialization_test.rb#L68
This commit is contained in:
Spencer Oberstadt 2016-06-01 16:50:15 -04:00 committed by L. Preston Sego III
parent 44128a5d23
commit 998ca55e3d

View File

@ -42,7 +42,7 @@ document = {
'title' => 'Title 1',
'date' => '2015-12-20'
},
'associations' => {
'relationships' => {
'author' => {
'data' => {
'type' => 'user',