Prevent loading association when include_data is set to false (#1710)

This should fix #1707.
This commit is contained in:
Yohan Robert
2016-05-25 02:46:22 +02:00
committed by L. Preston Sego III
parent cbca1350b9
commit a701777bd5
3 changed files with 14 additions and 7 deletions

View File

@@ -7,6 +7,8 @@ Breaking changes:
Features:
Fixes:
- [#1710](https://github.com/rails-api/active_model_serializers/pull/1710) Prevent association loading when `include_data` option
is set to `false`. (@groyoh)
Misc:
- [#1734](https://github.com/rails-api/active_model_serializers/pull/1734) Adds documentation for conditional attribute (@lambda2)