[Nitro] Problem with Nitro In Flames tutorial

Chris Farmiloe chris at motionpath.com
Thu Dec 22 17:22:20 EST 2005


the scaffolding has changed a bit since that tutorial...

try visiting /items/list


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




More information about the Nitro-general mailing list