mirror of https://github.com/rails/rails
it's xml, not json
change docs for xml serializer to talk about xml
This commit is contained in:
parent
4f8168ec58
commit
0e945f8909
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue