Hey Guys,
Wondering if it''s possible to POST multiple resources in a single
action. For example given the XML file:
<people>
<person>
<name>Michael Scott</name>
<title>Regional Manager</title>
</person>
<person>
<name>Dwight Schrute</name>
<title>Assistant to the Regional Manager</title>
</person>
</people>
What''s the best way to accomplish that? Clearly the create action in
the controller is only expecting a single resource -- but given the
nature of XML, just curious if Rails has something baked in that can
accomplish this for batch XML posting.
Thanks,
James