Rails philosophy encourages the use of POST when dealing with
destructive actions. How does one do this when the link to the action
is within another form?
In my example, I have an edit form that includes the entry’s
associated models.
I want to be able to delete these items within the form.
However, HTML doesn’t allow for nested forms, so how should I post
the request? I could easily use a normal link to do a GET request,
but this doesn’t seem to fit with “the right way.”
How do you do it?