Skip to content

Exclude path params from attributes hash #173

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

Closed

Conversation

coreyward
Copy link
Contributor

Currently path params (e.g. parent attribute ids for nested attributes) are included in the attributes hash when serialized. This causes problems when APIs do not expect it. This patch resolves the issue by excluding these with an easy-to-overwrite method on Resource.

@senid231
Copy link
Member

closed in favor to #286
I have no possibility to edit this branch so i just fix conflicts create another PR

@senid231 senid231 closed this May 25, 2018
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