mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-23 06:16:50 +00:00
An `_id` suffix will be appended to the name of HasOne associations, while `_ids` will be appended to the singularized name of HasMany associations. Association keys can still be overridden with the `key` option. Furthermore, objects embedded in the root are now by default named according to their serializer, instead of the key used for their associations. |
||
|---|---|---|
| .. | ||
| array_serializer_test.rb | ||
| association_test.rb | ||
| generators_test.rb | ||
| no_serialization_scope_test.rb | ||
| serialization_test.rb | ||
| serializer_support_test.rb | ||
| serializer_test.rb | ||
| test_fakes.rb | ||
| test_helper.rb | ||