Displaying 1 result from an estimated 1 matches for "logic_delete".
Did you mean:
log_delete
2010 Jun 25
0
Rails 3 data-method vs _method
Hi,
I would like to know if and how new data-method attribute should work
together with _method url parameter
Please take a look at the following example:
<a href="/players/13/logic_delete?_method=delete">Delete</a>
A link to trigger action logic_delete and we should use REST delete
method type.
In Rails 3 with new UJS this will not work if javascript is enabled.
To get that working we have to do the following:
<a href="/players/13/logic_delete?_method=delete&q...