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.

Fix Array#to_xml to produce valid markup when working with namespaced classes

#3624

How to reproduce:

@records = Namespaced::Model.all
render :xml => @records.to_xml

Before:

<namespaced/models> 
  <namespaced/model> 
    <!-- -->
  </namespaced/model> 
</namespaced/models>

After:

<namespaced-models> 
  <namespaced-model> 
    <!-- -->
  </namespaced-model> 
</namespaced-models>

Reported by Yaroslav Markin · December 27th, 2009 @ 11:06 PM

State: resolved
Milestone: 2.3.6
Assigned to: José Valim José Valim
Importance: Low