fix a couple typos

This commit is contained in:
Jason Kriss 2013-04-18 13:39:14 -07:00
parent 3aa7773ebc
commit 4e762ee8b5
2 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@ module ActionController
# Action Controller Serialization # Action Controller Serialization
# #
# Overrides render :json to check if the given object implements +active_model_serializer+ # Overrides render :json to check if the given object implements +active_model_serializer+
# as a method. If so, use the returned serializer instead of calling +to_json+ in the object. # as a method. If so, use the returned serializer instead of calling +to_json+ on the object.
# #
# This module also provides a serialization_scope method that allows you to configure the # This module also provides a serialization_scope method that allows you to configure the
# +serialization_scope+ of the serializer. Most apps will likely set the +serialization_scope+ # +serialization_scope+ of the serializer. Most apps will likely set the +serialization_scope+

View File

@ -5,7 +5,7 @@ require 'active_support/descendants_tracker'
module ActiveModel module ActiveModel
# Active Model Array Serializer # Active Model Array Serializer
# #
# It serializes an Array, checking if each element that implements # Serializes an Array, checking if each element implements
# the +active_model_serializer+ method. # the +active_model_serializer+ method.
# #
# To disable serialization of root elements: # To disable serialization of root elements: