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:
parent
4f8168ec58
commit
0e945f8909
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue