[Nitro] what does compiling action mean?
George Moschovitis
george.moschovitis at gmail.com
Tue Mar 22 05:44:00 EST 2005
Hello dan,
your action method looks probably like this:
def index
return "Hello world"
end
This shouls be like this:
def index
@out << "Hello world"
end
or
o << 'Hello world'
or
o.text 'Hellow world'
if an action does not fill the output buffer (@out) Nitro
automatically redirects
to the referer. In version 0.14.0 there is a render_nothing method
that is useful to better 'document' this behaviour in your code.
If you have any more problems, let me know!
regards,
George.
--
http://nitro.rubyforge.org
http://www.joy.gr
More information about the Nitro-general
mailing list