diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2015-08-25 14:52:15 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2015-08-25 14:52:15 -0300 |
commit | e6629257f4aecfa53fd1a1a2eae34aa33f637d79 (patch) | |
tree | 52e48ba367597eb4f7a486b64da9860a67336826 | |
parent | 2dd2d0c1e0af2bfda59dfc8706057e0ea46533b4 (diff) | |
parent | 71ed33920306e577c5c8b40d5d7a3c57d2285ce9 (diff) | |
download | rails-e6629257f4aecfa53fd1a1a2eae34aa33f637d79.tar.gz rails-e6629257f4aecfa53fd1a1a2eae34aa33f637d79.tar.bz2 rails-e6629257f4aecfa53fd1a1a2eae34aa33f637d79.zip |
Merge pull request #21324 from Gaurav2728/gaurav-xml_serialization_doc_fix
discard xml Serialization documentation that is no longer available […
-rw-r--r-- | activemodel/lib/active_model/serialization.rb | 8 |
1 files 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 - # <tt>ActiveModel::Serialization</tt> module, so there is no need to - # explicitly include it. + # JSON Serialization module is automatically include the <tt>ActiveModel::Serialization</tt> + # 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 |