Frederick Cheung wrote in post #977813: > On Jan 26, 10:50pm, Fearless Fool <li...@ruby-forum.com> wrote: > >> >> <a href="/premises/2" >> data-confirm="Positive?" >> data-method="delete" >> rel="nofollow" >> title="Delete 123 Chestnut Street">delete</a> >> >> That looks basically right to me, so I'm still stumped. >> > > Have you got the rails js loaded that detects those attributes and > actually does something with them?
I rarely use delete links, so I didn't realize that it took JavaScript to make one. This seems dysfunctional, and reinforces my belief that having a link be anything other than GET represents a design problem. Hmm. My instinct is to suggest defining a GET destroy action. OTOH, that's not idempotent. Aaugh! > > Fred Best, -- Marnen Laibow-Koser http://www.marnen.org mar...@marnen.org Sent from my iPhone -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.