[Nitro] returning string from controller method
Jonathan Buch
john at oxyliquit.de
Wed May 30 01:52:29 EDT 2007
Hi,
>> On a related note, I was trying out my examples against the latest repo
>> version, and simply returning a string from a controller apparently no
>> longer works. Will this be the 0.50.0 behaviour?
>
>
> Yeah, this is disabled at the moment, but I will consider bringing this
> back...
I vote for bringing the old way back, as it prevents the following
ruby -e 'require "rubygems"; require "nitro"; class MyController; def
index; "Hello World"; end; end; Nitro.start(MyController)'
from working. :) Everytime someone comes into the channel asking how
Nitro looks like, I use this example. I'd hate to loose it as it's
a really sweet case on how non-intrusive Nitro is and never fails to
catch attention.
Jo
--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
More information about the Nitro-general
mailing list