mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-23 06:16:50 +00:00
When the requests asked for a nested attribute in the `include` and it's missing or empty, don't break because the type of the object can't be determined. If the request is for a collection and none of the elements has the attribute, it will not be added to the `linked` key, similar to what happens with simple includes. |
||
|---|---|---|
| .. | ||
| action_controller | ||
| adapter | ||
| fixtures | ||
| serializers | ||
| adapter_test.rb | ||
| array_serializer_test.rb | ||
| test_helper.rb | ||