Skip to content
This repository
Browse code

it's xml, not json

change docs for xml serializer to talk about xml
  • Loading branch information...
commit 0e945f89096e812c6a3bb3f442ce0063d451d1d7 1 parent 4f8168e
John Gesimondo jmondo authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  activemodel/lib/active_model/serializers/xml.rb
2  activemodel/lib/active_model/serializers/xml.rb
@@ -205,7 +205,7 @@ def to_xml(options = {}, &block)
205 205 Serializer.new(self, options).serialize(&block)
206 206 end
207 207
208   - # Sets the model +attributes+ from a JSON string. Returns +self+.
  208 + # Sets the model +attributes+ from an XML string. Returns +self+.
209 209 #
210 210 # class Person
211 211 # include ActiveModel::Serializers::Xml

0 comments on commit 0e945f8

Please sign in to comment.
Something went wrong with that request. Please try again.