For the purpose of calling from a Flex HTTPService, I need to create
an XML version of the Rails-generated list() function. The original
is:
  def list
    @rv_wrk_medical_staff_pages, @rv_wrk_medical_staffs paginate
:rv_wrk_medical_staffs, :per_page => 10
  end
I tried applying to_xml() to @rv_wrk_medical_staffs, but get the
following error message:
"Not all elements respond to to_xml"
Thanks,
Chris.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---