I''m using a MySQL server and the user my rails app is logging in as is
root;
root has all permissions.
My destroy code is default scaffolding:
def destroy
Customer.find(params[:id]).destroy
redirect_to :action => ''list''
end
Why is
<%= link_to ''Destroy'', :action =>
''destroy'', :id => @customer %>
not destroying the SQL row? @customer is the correct id.
Any ideas?
- David
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://wrath.rubyonrails.org/pipermail/rails/attachments/20060713/791976c4/attachment-0001.html