[Nitro] Problem with Nitro In Flames tutorial

Jos Backus jos at catnook.com
Fri Dec 23 16:19:23 EST 2005


On Fri, Dec 23, 2005 at 03:12:28PM +0000, rob wrote:
> Have you mapped the correct controller to the / path?
 
I tried that. See my response to Chris.

Thanks,
Jos

> On 22 Dec 2005, at 22:14, Jos Backus wrote:
> 
> >Next problem: I added src/controller.rb per the tutorial and while  
> >trying to
> >access http://host/items I see:
> >
> >E, [2005-12-22T14:11:18.255399 #25040] ERROR -- : Error while handling
> >'/items'.
> >E, [2005-12-22T14:11:18.255729 #25040] ERROR -- : No action to  
> >dispatch to on
> >Nitro::Controller
> >  /usr/local/lib/ruby/gems/1.8/gems/nitro-0.26.0/lib/nitro/ 
> >dispatcher.rb:202:in
> >  `dispatch'
> >
> >src/controller.rb looks like:
> >
> >    class TodoController < Nitro::Controller
> >      scaffold TodoList
> >      scaffold Item
> >    end
> >
> >What am I missing?
> >
> >-- 
> >Jos Backus
> >jos at catnook.com
> >_______________________________________________
> >Nitro-general mailing list
> >Nitro-general at rubyforge.org
> >http://rubyforge.org/mailman/listinfo/nitro-general
> 
> 

-- 
Jos Backus
jos at catnook.com



More information about the Nitro-general mailing list