Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Using to_xml with folders in model cause invalid XML

#2875

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>

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

State: resolved
Milestone: 3.0.2
Assigned to: josh josh
Importance: none

Activity

  1. Yehuda Katz (wycats)
    Yehuda Katz (wycats)
    • Milestone cleared.
    • State changed from new to open
    • Assigned user set to josh

    July 8th, 2009 @ 02:34 AM

  2. josh
    josh

    Can you whip up a failing unit test plz.

    July 9th, 2009 @ 07:37 PM

  3. Repository
  4. Jeremy Kemper
    Jeremy Kemper
    • Milestone set to 3.0.2
    • Importance changed from to

    October 15th, 2010 @ 11:01 PM