diff --git a/activemodel/lib/active_model/serializers/xml.rb b/activemodel/lib/active_model/serializers/xml.rb index 0b0116d32c3e805f3ad6700747b94789c2e66bf5..d4295e6afeac8a60c0679e81c75b495cb699714f 100644 --- a/activemodel/lib/active_model/serializers/xml.rb +++ b/activemodel/lib/active_model/serializers/xml.rb @@ -146,19 +146,17 @@ def add_procs # 1 # David # 16 - # 2011-01-30T22:29:23Z + # 2011-01-30T22:29:23Z # # # The :only and :except options can be used to limit the attributes # included, and work similar to the +attributes+ method. - # - # To include the result of some method calls on the model use :methods # - # To include associations use :include + # To include the result of some method calls on the model use :methods. # - # For further documentation see activerecord/lib/active_record/serializers/xml_serializer.xml - - + # To include associations use :include. + # + # For further documentation see activerecord/lib/active_record/serializers/xml_serializer.xml. def to_xml(options = {}, &block) Serializer.new(self, options).serialize(&block) end