Permalink
Browse files

it's xml, not json

change docs for xml serializer to talk about xml
  • Loading branch information...
jmondo committed Jul 13, 2013
1 parent 4f8168e commit 0e945f89096e812c6a3bb3f442ce0063d451d1d7
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 0e945f8

Please sign in to comment.