You’re trying to do nested forms in Rails and you want to delete an associated piece of data with something like:

form.check_box :_destroy

..but you get the error:

undefined method `_destroy’ for..

Check the version of rails you’re using. In Rails 2.3.4 and earlier the method was actually known as ‘_delete‘. It’s name wasn’t changed to ‘_destroy‘ until Rails 2.3.5.