[Nitro] Problem with Nitro In Flames tutorial

Jos Backus jos at catnook.com
Thu Dec 22 17:43:16 EST 2005


On Thu, Dec 22, 2005 at 10:22:20PM +0000, Chris Farmiloe wrote:
> the scaffolding has changed a bit since that tutorial...
 
No doubt...

> try visiting /items/list
 
Thanks. Same error ensues.

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