it's xml, not json

change docs for xml serializer to talk about xml
This commit is contained in:
John Gesimondo 2013-07-13 16:25:04 -07:00
parent 4f8168ec58
commit 0e945f8909
1 changed files with 1 additions and 1 deletions

View File

@ -205,7 +205,7 @@ module ActiveModel
Serializer.new(self, options).serialize(&block)
end
# Sets the model +attributes+ from a JSON string. Returns +self+.
# Sets the model +attributes+ from an XML string. Returns +self+.
#
# class Person
# include ActiveModel::Serializers::Xml