| Sign In/My Account | View Cart |
| Article: |
Rolling with Ruby on Rails Revisited, Part 2 | |
| Subject: | destroy.rhtml | |
| Date: | 2007-12-03 12:28:06 | |
| From: | TechG1rl | |
|
Response to: destroy.rhtml
|
||
|
Figured it out, I was missing part of the statement in the controller file, the destroy.rhtml file is not needed :) Works well. Now, I wonder, how we would tell the client, sorry cannot delete that category as there are recipes associated, or successfully deleted. I am guessing that we would use that javascript mentioned earlier in the tutorial. Thanks again for the tutorials!
|
||