Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix docs for deserialization relationships #1768

Merged
merged 1 commit into from
Jun 1, 2016

Conversation

soberstadt
Copy link
Contributor

Purpose

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

Changes

One key in the example document to be deserialized, from associations to relationships.

Caveats

Related GitHub issues

Additional helpful information

@NullVoxPopuli
Copy link
Contributor

Good catch!

@NullVoxPopuli NullVoxPopuli merged commit 998ca55 into rails-api:master Jun 1, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants