Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Calling to_xml on an Array of ROXML objects results in an empty collection #26

Open
findchris opened this issue May 21, 2010 · 0 comments

Comments

@findchris
Copy link
Contributor

Hi there.

I have a ROXML object that looks like:
class Activity
include ROXML
xml_accessor :id
end

If I have an array of these objects and call .to_xml on the array, I receive an empty xml collection:
"\n<activities type="array">\n\n"

Any idea why or how to fix this?
Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant