1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

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

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