Skip to content

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

@findchris

Description

@findchris

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions