From: Jamis Buck Date: 2004-11-22T23:14:05+09:00 Subject: Re: Some progress but have hit a new error working through the Todo tutorial... Anyone recognize it? Abraham Vionas wrote: > Oh, whups. The state of the todo_controller.rb file that evokes this error > is: > > require 'abstract_application' > require 'todo' > > class TodoController < AbstractApplicationController > helper :todo > > > def index > scaffold:todo > end > end Declare the scaffolding outside of the method, at the class level, like this: class TodoController < AbstractApplicationController helper :todo scaffold :todo def index ... end end Good luck! - Jamis -- Jamis Buck jgb3@email.byu.edu http://www.jamisbuck.org/jamis