add docs for serializing arrays

This commit is contained in:
Tee Parham
2012-07-21 15:25:41 -07:00
parent bf2fa2d31c
commit 53da0b12fd
2 changed files with 81 additions and 1 deletions

View File

@@ -32,7 +32,7 @@ module ActiveModel
# It serializes an Array, checking if each element that implements
# the +active_model_serializer+ method.
#
# To disable serialization of root elements, in an initializer:
# To disable serialization of root elements:
#
# ActiveModel::ArraySerializer.root = false
#