simonsebright at hotmail.com
Fri Mar 27 04:41:45 PDT 2009
Perhaps this is already well-known. I am fairly new to Rails and am working on an app which uses a RESTful style. I want to offer Delete options for the various objects and have first done this with the link_to function with :method => :delete.
I guess the non-JS case needs a form with a POST action, which could work just as well with JS via Ajax. Then it seems a shame to have bypassed the lovely :method => :delete!
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Chat