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:
Kang-Kyu Lee 2015-06-17 11:24:48 -07:00
parent bc8fd0a44a
commit ed818d9fd3

View File

@ -1,8 +1,8 @@
# ActiveModel::Serializers # ActiveModel::Serializer
[![Build Status](https://travis-ci.org/rails-api/active_model_serializers.svg)](https://travis-ci.org/rails-api/active_model_serializers) [![Build Status](https://travis-ci.org/rails-api/active_model_serializers.svg)](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.