[ci skip] Fix explanation of ActiveModel::Serialization

This explanation was change by https://github.com/rails/rails/commit/7a27de2b.
This change reversed the including module (`ActiveModel::Serializers::JSON`)
and the included module (`ActiveModel::Serialization`) by mistake.
This commit is contained in:
yui-knk 2015-09-29 13:33:11 +09:00
parent eb73c58003
commit 1fdb98c033

@ -31,9 +31,9 @@ module ActiveModel
# of the attributes hash's keys. In order to override this behavior, take a look
# at the private method +read_attribute_for_serialization+.
#
# The JSON serialization is provided by default when you include the
# <tt>ActiveModel::Serialization</tt> module, so there is no need to explicitly
# include it.
# ActiveModel::Serializers::JSON module automatically includes
# the <tt>ActiveModel::Serialization</tt> module, so there is no need to
# explicitly include <tt>ActiveModel::Serialization</tt>.
#
# A minimal implementation including JSON would be:
#