Looks good; nice catch that XmlSerializer#to_s dasherizes
options[:root].

Nick

On May 2, 9:29 pm, "Michael Koziarski" <[EMAIL PROTECTED]> wrote:
> On 5/2/07, Michael Koziarski <[EMAIL PROTECTED]> wrote:
>
> > > I was fooling around with to_xml(:include => { ... }) today, and found
> > > that to_xml uses the plural-underscored class name of the
> > > association's members instead of the association name:
>
> > Yeah, I think it's safe to put this in for 2.0,  it's come up a bunch
> > of times and the current behaviour is really counter intuitive.  I
> > believe I have a patch assigned to me which does this.
>
> This is fixed in trunk.  Please let me know if there were any strange
> side-effects.
>
> --
> Cheers
>
> Koz


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-core?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to