This project is archived and is in readonly mode.
to_xml format with sti
-
Jeremy Kemper
- Assigned user set to Jeremy Kemper
- State changed from new to open
Agreed. I've been bitten by this difference several times. Works with a single record.to_xml(:include => :association) but not association.to_xml.
-
Dan Pickett
- Tag set to bugmash
-
Neeraj Singh
In the edge this is what you would get today.
<pre> <sales-documents type="array"> <sales-document> ... </sales-document> <sales-document> ... </sales-document> </sales-documents> </pre>If this is acceptable then this ticket can be closed.
However if the desired output is
<pre> <sales-documents type="array"> <sales-order> ... </sales-order> <sales-quotation> ... </sales-quotation> </sales-documents> </pre>then I am willing to work on it. Lemme know.
Edited by Rohit Arondekar to fix formating.
-
Neeraj Singh
Can someone ask lighthouse app team to put "preview" button next to "Update ticket" . Stackoverflow nails usability issue with live preview.
-
Rohit Arondekar
Any updates on this ticket? Is output that Neeraj has shown acceptable?
-
Rohit Arondekar
I fixed the formating of the comment made by Neeraj. Does this need more work or is the output acceptable?
-
Neeraj Singh
Rohit: Thanks for the ping. I guess the ball is in the court of one of the rails core team members. If the present output is acceptable then all is fine. Peace.
Also thanks to Rohit for correcting the formatting in my previous comment.
-
Neeraj Singh
- Importance changed from to
Hi Jeremy I believe this is no longer an issue. Please take a look an earlier comment by me (edited by Rohit. thank you) to see the output that is generated currently. Then you can decide if that is good enough.