mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-23 06:16:50 +00:00
When linked resource had has_many links, all of them would use the association from the first resource, causing all of the items to build `links` with the same associations. This fixes it by iterating over the serializers, not just the attributes array. |
||
|---|---|---|
| .. | ||
| action_controller | ||
| adapter | ||
| fixtures | ||
| serializers | ||
| adapter_test.rb | ||
| array_serializer_test.rb | ||
| test_helper.rb | ||