This project is archived and is in readonly mode.

#2875 ✓resolved
José Antonio Silva

Using to_xml with folders in model cause invalid XML

Reported by José Antonio Silva | July 6th, 2009 @ 03:54 PM | in 3.0.2

With subfolders in model folders the to_xml method generates invalid XML:

ie:

I have this sctructure:
-models --resources ----post.rb

The class name in post.rb is Resources::Post

The to_xml method generates:

<?xml version="1.0" encoding="UTF-8"?> <resources/posts type="array">
<resources/post>

&lt;description>

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

Tags

Referenced by

Pages