Merge branch 'array-serializer-root' of github.com:teeparham/active_model_serializers into readme-arrays

This commit is contained in:
Tee Parham
2012-07-23 13:02:04 -06:00
2 changed files with 99 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
#