mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-22 22:06:50 +00:00
Update README.md
I wonder how `ActiveRecord::Serializer` and `ActiveRecord::Serializers` are different? However I found they have different name between the title and code.
This commit is contained in:
parent
bc8fd0a44a
commit
ed818d9fd3
@ -1,8 +1,8 @@
|
|||||||
# ActiveModel::Serializers
|
# ActiveModel::Serializer
|
||||||
|
|
||||||
[](https://travis-ci.org/rails-api/active_model_serializers)
|
[](https://travis-ci.org/rails-api/active_model_serializers)
|
||||||
|
|
||||||
ActiveModel::Serializers brings convention over configuration to your JSON generation.
|
ActiveModel::Serializer brings convention over configuration to your JSON generation.
|
||||||
|
|
||||||
AMS does this through two components: **serializers** and **adapters**.
|
AMS does this through two components: **serializers** and **adapters**.
|
||||||
Serializers describe _which_ attributes and relationships should be serialized.
|
Serializers describe _which_ attributes and relationships should be serialized.
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user