This project is archived and is in readonly mode.

#4585 ✓invalid
phs

to_xml generates invalid xml with namespaced ActiveRecord redux

Reported by phs | May 12th, 2010 @ 10:02 PM

It appears 3.0.0.beta2 regresses #2723:

>> Wheelie-Cyberman:~/code/accounts $ rails c
Loading development environment (Rails 3.0.0.beta2)
>> print Accounts::User.all.to_xml
<?xml version="1.0" encoding="UTF-8"?>
<accounts/users type="array">
  <accounts/user>
    <display-name nil="true"></display-name>
    <email nil="true"></email>
    <id type="integer">1</id>
    <password nil="true"></password>
  </accounts/user>
</accounts/users>
=> nil
>>

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>

People watching this ticket

Pages