mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-23 14:29:31 +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 | ||
| active_model | ||
| generators/serializer | ||
| active_model_serializers.rb | ||