Taylor Strait wrote:
VIEW: <%= link_to "Remove", :controller => "referrals", :action => "remove", :id => referral %>
CONTROLLER: def remove referral = Referral(params[:id]) referral.update_attribute(body, "Removed by user request on #{Date.today}") redirect_to(:controller => "people", :action => "show", :id => @person.id) end
Usually the stack trace also say which line number throws the error.
I wonder >body< is defined anywhere? Or perhaps 'body'?
Long