This project is archived and is in readonly mode.

#3624 ✓resolved
Yaroslav Markin

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

Reported by Yaroslav Markin | December 27th, 2009 @ 11:06 PM | in 2.3.6

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>

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>

Referenced by

Pages