From: Guillaume Benny Date: 2006-02-27T01:21:02+09:00 Subject: RE : N00b request help with scaffold- undefined method 'body=' error > > the "list" action seems to work well, but all other actions result in > errors. > > > class ResponsesController < ApplicationController > def index > list > render :action => 'list' > end > > def list > @response_pages, @responses = paginate :responses, :per_page => 10 > end > > def show > @response = Response.find(params[:id]) > end > > def new > @response = Response.new > end > > Hi, My guess is that "response" is something special in Rails (so is "request" if I remember correctly). You are probably overwriting a Rails instance variable... Try renaming @response to something else. It might even be your "Response" model that's confusing Rails: maybe there is a Response class in Rails. Try renaming it to something else... I hope this will help... Guillaume