Permalink
Browse files

Merge pull request #11427 from jmondo/patch-1

it's xml, not json
  • Loading branch information...
2 parents 4f8168e + 0e945f8 commit 308c0abbd91a690b10a8b50e7368a53a9e7495f7 @spastorino spastorino committed Jul 13, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 activemodel/lib/active_model/serializers/xml.rb
@@ -205,7 +205,7 @@ def to_xml(options = {}, &block)
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

0 comments on commit 308c0ab

Please sign in to comment.