GitHub Sale: sign up for any paid plan this week and pay nothing until January 1, 2009!  [ hide ]

public
Fork of lifo/doc-rails
Description: Repository for improving Rails documentation
Homepage: http://www.rubyonrails.org
Clone URL: git://github.com/zmalltalker/doc-rails.git
specify that AR collections use Array#to_xml for XML serialization
Xavier Noria (author)
Thu Apr 10 03:26:44 -0700 2008
commit  0025f55bd9606909996ee6c7aa19065f02411de3
tree    5d27eb3ab75424245380e663ac4128ae536822b5
parent  a3e55af0b4145d164b6cd8eca828f086ccaefaff
...
68
69
70
71
 
 
72
73
74
...
68
69
70
 
71
72
73
74
75
0
@@ -68,7 +68,8 @@ module ActiveSupport #:nodoc:
0
         end
0
 
0
         # Returns a string that represents this array in XML by sending
0
- # <tt>to_xml</tt> to each element.
0
+ # <tt>to_xml</tt> to each element. ActiveRecord collections delegate
0
+ # their representation in XML to this method.
0
         #
0
         # All elements are expected to respond to <tt>to_xml</tt>, if any of
0
         # them does not an exception is raised.

Comments

    No one has commented yet.