Displaying 2 results from an estimated 2 matches for "showme_xml".
Did you mean:
shome_xml
2006 Apr 27
1
XML output ..
Hi,
I have a method showme_xml in my controller manager_controller.rb
class ManagerController < ApplicationController
def shome_xml
end
end
I have got a shome_xml.rxml template in my view section.
--
Posted via http://www.ruby-forum.com/.
2006 Apr 27
3
XML output
...;ISO-8859-1" ?>
<response status=''NOT_AVAILABLE''>
<message>Some text</message>
<from>Me</from>
</response>
I make a request like such
http://localhost:3000/manager/shome_xml?from=Me
The page i get back is blank.
I have a method showme_xml in my controller manager_controller.rb
class ManagerController < ApplicationController
def shome_xml
@from = params[:from]
render :action => "showme_xml", :layout => nil
end
end
I have got a shome_xml.rxml template in my view section.
xml = Builder::XmlMarkup.new
xm...