Bugfix/redefine associations on inherited serializers (#1848)

* replace reflection collection type with hash to prevent duplicated associations in some cases

* include tests

* Fix robucup offenses

* Improve test

* Remove usless requirement

* improve tests

* remove custom_options option from Post and InheritedPost serializer

* Improve tests

* update changelog

* update changelog
This commit is contained in:
Avon
2016-07-18 00:55:43 +04:30
committed by L. Preston Sego III
parent 9a206a1f5d
commit 3ad2457aaf
4 changed files with 64 additions and 8 deletions

View File

@@ -16,6 +16,7 @@ Misc:
Fixes:
- [#1814](https://github.com/rails-api/active_model_serializers/pull/1814) Ensuring read_multi works with fragment cache
- [#1848](https://github.com/rails-api/active_model_serializers/pull/1848) Redefine associations on inherited serializers. (@EhsanYousefi)
Misc:
- [#1808](https://github.com/rails-api/active_model_serializers/pull/1808) Adds documentation for `fields` option. (@luizkowalski)