Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

it's xml, not json

change docs for xml serializer to talk about xml
  • Loading branch information...
commit 0e945f89096e812c6a3bb3f442ce0063d451d1d7 1 parent 4f8168e
@jmondo jmondo authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  activemodel/lib/active_model/serializers/xml.rb
View
2  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
Please sign in to comment.
Something went wrong with that request. Please try again.