aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/lib
diff options
context:
space:
mode:
authorJohn Gesimondo <john@jmondo.com>2013-07-13 16:25:04 -0700
committerJohn Gesimondo <john@jmondo.com>2013-07-13 16:25:04 -0700
commit0e945f89096e812c6a3bb3f442ce0063d451d1d7 (patch)
tree5c736d71e52e0dbc9a0d1b8fb48a9c5dc7529569 /activemodel/lib
parent4f8168ec58cbc0bf1f1e442af2e93ccc1dd8dba0 (diff)
downloadrails-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.rb2
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