Displaying 2 results from an estimated 2 matches for "render_xml".
Did you mean:
render_html
2007 Jan 03
2
Using helpers...
All,
I am getting an undefined method exception while trying to use a helper
method
in a xerb file.
I am running version 0.0.8
module Merb
module FredHelper
def blee( args )
....
end
end
end
In the xerb template I have
xml.bobo blee( args )
At runtime I am getting undefined method ''blee''
I tryied
2007 Jun 30
3
return custom http responses from a controller?
Is it possible to have a response to the browser triggered prematurely
in a controller? like before rails does all it''s internal processing?
also if so can I change the content-type for the response?
thanks
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups