docs/ARCHITECTURE.md in active_model_serializers-0.10.0.rc5 vs docs/ARCHITECTURE.md in active_model_serializers-0.10.0
- old
+ new
@@ -42,10 +42,10 @@
Internally, if no serializer can be found in the controller, the resource is not decorated by
ActiveModelSerializers.
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)
-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:
```ruby
reflection_options[:virtual_value] = association_value.try(:as_json) || association_value
```