Displaying 1 result from an estimated 1 matches for "4727586c".
Did you mean:
4,275862
2006 Jul 24
4
Destroy action doesn''t work?
Hi all,
Here is my Customer controller''s destroy method:
** def destroy
Customer.find(params[:id]).destroy
redirect_to :action => ''list''
end
It''s stock, untouched scaffold code. When I submit the URL:
http://localhost:3000/customers/destroy/11
The entry in the MySQL database with id 11 is not destroyed. The destroy
method won''t