aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/README.rdoc
diff options
context:
space:
mode:
authorZachary Scott <e@zzak.io>2015-05-05 11:11:35 -0700
committerZachary Scott <e@zzak.io>2015-08-07 11:01:48 -0400
commitf7ebdb1ac51f26cff76e5642a75717df1b446746 (patch)
treefd74ad436d91879ac71745dda5c1e5f279de9581 /activemodel/README.rdoc
parent9b7ecf0d6d284825a2e1ce57c0074b8f945a791f (diff)
downloadrails-f7ebdb1ac51f26cff76e5642a75717df1b446746.tar.gz
rails-f7ebdb1ac51f26cff76e5642a75717df1b446746.tar.bz2
rails-f7ebdb1ac51f26cff76e5642a75717df1b446746.zip
Remove XML Serialization from core.
This includes the following classes: - ActiveModel::Serializers::Xml - ActiveRecord::Serialization::XmlSerializer
Diffstat (limited to 'activemodel/README.rdoc')
-rw-r--r--activemodel/README.rdoc9
1 files changed, 1 insertions, 8 deletions
diff --git a/activemodel/README.rdoc b/activemodel/README.rdoc
index d954467387..20414c1d61 100644
--- a/activemodel/README.rdoc
+++ b/activemodel/README.rdoc
@@ -155,7 +155,7 @@ behavior out of the box:
* Making objects serializable
<tt>ActiveModel::Serialization</tt> provides a standard interface for your object
- to provide +to_json+ or +to_xml+ serialization.
+ to provide +to_json+ serialization.
class SerialPerson
include ActiveModel::Serialization
@@ -177,13 +177,6 @@ behavior out of the box:
s = SerialPerson.new
s.to_json # => "{\"name\":null}"
- class SerialPerson
- include ActiveModel::Serializers::Xml
- end
-
- s = SerialPerson.new
- s.to_xml # => "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<serial-person...
-
{Learn more}[link:classes/ActiveModel/Serialization.html]
* Internationalization (i18n) support