diff options
author | John Gesimondo <john@jmondo.com> | 2013-07-13 16:25:04 -0700 |
---|---|---|
committer | John Gesimondo <john@jmondo.com> | 2013-07-13 16:25:04 -0700 |
commit | 0e945f89096e812c6a3bb3f442ce0063d451d1d7 (patch) | |
tree | 5c736d71e52e0dbc9a0d1b8fb48a9c5dc7529569 /activemodel/lib | |
parent | 4f8168ec58cbc0bf1f1e442af2e93ccc1dd8dba0 (diff) | |
download | rails-0e945f89096e812c6a3bb3f442ce0063d451d1d7.tar.gz rails-0e945f89096e812c6a3bb3f442ce0063d451d1d7.tar.bz2 rails-0e945f89096e812c6a3bb3f442ce0063d451d1d7.zip |
it's xml, not json
change docs for xml serializer to talk about xml
Diffstat (limited to 'activemodel/lib')
-rw-r--r-- | activemodel/lib/active_model/serializers/xml.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activemodel/lib/active_model/serializers/xml.rb b/activemodel/lib/active_model/serializers/xml.rb index 2803f69b6f..2864c2ba11 100644 --- a/activemodel/lib/active_model/serializers/xml.rb +++ b/activemodel/lib/active_model/serializers/xml.rb @@ -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 |