Hello,
I am very new at this, so please keep that in mind.
I made a web application using scaffold and ruby on rails. It’s just a
very basic blog that I’m using for testing and learning.
Everything’s going great, except when I want to delete an entry. Here’s
my code for the delete link:
<%= link_to ‘delete’, { :action => “destroy” }, :id => entry.id, :post
=> true %>
When I click this link, I get an error with the following error:
Couldn’t find Entry without an ID
Any ideas on what I’m doing wrong?
Thanks!