search for: manager_controller

Displaying 2 results from an estimated 2 matches for "manager_controller".

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
...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 xml.response(:status => "NOT_A...