[Nitro] testable controllers
george.moschovitis at gmail.com
Wed Sep 19 05:00:36 EDT 2007
I re-enabled the old behaviour. Please pull the latest repo code, and let me
know if everything works as expected.
On 9/19/07, Jonathan Buch <john at oxyliquit.de> wrote:
> > In retrospect, 3. is not that safe, and 1-2 are not serious flaws. So
> > if more people want the return string feature back, I will bring it
> > back...
> I liked the return string method because:
> ruby -rubygems -rnitro -e 'class C; def index; "Hello World!"; end; end;
> I know it's not that useful when you write bigger actions, but I
> still use it for small 'communication', where I return JSON from
> an action or simply return 'error', 'success' as API.
> For those just using the 'return string' is the most easy and
> most elegant looking method.
> Feel the love
> Nitro-general mailing list
> Nitro-general at rubyforge.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Nitro-general