Skip to content

Commit

Permalink
Merge pull request #21324 from Gaurav2728/gaurav-xml_serialization_do…
Browse files Browse the repository at this point in the history
…c_fix

discard xml Serialization documentation that is no longer available […
  • Loading branch information
rafaelfranca committed Aug 25, 2015
2 parents 2dd2d0c + 71ed339 commit e662925
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions activemodel/lib/active_model/serialization.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e662925

Please sign in to comment.