From: Jacob Fugal Date: 2005-12-06T05:12:53+09:00 Subject: Re: add a task to todo In general, I agree with Eric Hodel, you need to take Rails questions to the Rails mailing list. However, since it's sitting right there, I will point out the probable culprit: > if tasklist.save > redirect_to(:action => "list") > else > render_text"could not add" should be if tasklist.save redirect_to(:action => "list") else render_text "could not add" end # <= added this In ruby, unlike C or PHP or other languages, the if statement always has the "end" keyword as a terminator. Jacob Fugal