From 71ed33920306e577c5c8b40d5d7a3c57d2285ce9 Mon Sep 17 00:00:00 2001 From: Gaurav Sharma Date: Sat, 22 Aug 2015 04:06:14 +0530 Subject: discard xml Serialization documentation that is no longer available [ci skip] --- activemodel/lib/active_model/serialization.rb | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/activemodel/lib/active_model/serialization.rb b/activemodel/lib/active_model/serialization.rb index 58d68d9620..44bc9efa47 100644 --- a/activemodel/lib/active_model/serialization.rb +++ b/activemodel/lib/active_model/serialization.rb @@ -31,12 +31,10 @@ module ActiveModel # of the attributes hash's keys. In order to override this behavior, take a look # at the private method +read_attribute_for_serialization+. # - # Most of the time though, either the JSON or XML serializations are needed. - # Both of these modules automatically include the - # ActiveModel::Serialization module, so there is no need to - # explicitly include it. + # JSON Serialization module is automatically include the ActiveModel::Serialization + # module, so there is no need to explicitly include it. # - # A minimal implementation including XML and JSON would be: + # A minimal implementation including JSON would be: # # class Person # include ActiveModel::Serializers::JSON -- cgit v1.2.3