I want to have the following features in my rails application:
- I want to protect my application described in
http://www.w3.org/2001/tag/doc/whenToUseGet.html - means GET should be
If I use “GET should be safe” option (verify) and link_to with :method
disabled. My idea was now to use image_submit_tag to do e.g. a
‘delete’ action on list page. For this option I have to encode the
action (delete) and the id of the entity within the value option of
the generated HTML “input” tag. Is there a plugin for this
avalailable? The downside of this is that I have one form action which
has to decode the “value” content and delegate to the right action.
Did I miss something?