From: Jim Weirich Date: 2004-11-23T02:52:09+09:00 Subject: Re: Some progress but have hit a new error working through the Todo tutorial... Anyone recognize it? Abraham Vionas said: > Thanks for the help Jamis! > > So, I modified my code to appear like so... > > ---------- > require 'abstract_application' > require 'todo' > > class TodoController < AbstractApplicationController > helper :todo > scaffold :todo > > def index > render_text("Text") > end > > end > ---------- [...] > The tutorial suggests removing the "render_text" line and replacing it > with the scaffold line, but obviously that creates an error for me... [...] Try completely removing the entire index method. You are overriding the index method from the scaffolding. -- -- Jim Weirich jim@weirichhouse.org http://onestepback.org ----------------------------------------------------------------- "Beware of bugs in the above code; I have only proved it correct, not tried it." -- Donald Knuth (in a memo to Peter van Emde Boas)