mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-22 22:06:50 +00:00
Fix typo in PRIMITIVE HANDLING docs [ci skip]
This commit is contained in:
parent
0165215c95
commit
ad9e69a737
@ -44,7 +44,7 @@ ActiveModelSerializers.
|
|||||||
|
|
||||||
If the collection serializer (ArraySerializer) cannot
|
If the collection serializer (ArraySerializer) cannot
|
||||||
identify a serializer for a resource in its collection, it raises [`NoSerializerError`](https://github.com/rails-api/active_model_serializers/issues/1191#issuecomment-142327128)
|
identify a serializer for a resource in its collection, it raises [`NoSerializerError`](https://github.com/rails-api/active_model_serializers/issues/1191#issuecomment-142327128)
|
||||||
which is rescued in `AcitveModel::Serializer::Reflection#build_association` which sets
|
which is rescued in `ActiveModel::Serializer::Reflection#build_association` which sets
|
||||||
the association value directly:
|
the association value directly:
|
||||||
|
|
||||||
```ruby
|
```ruby
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user