Women in Technology

Hear us Roar



Article:
  Rolling with Ruby on Rails, Part 2
Subject:   Custom Delete Method Not Needed
Date:   2006-07-30 11:41:11
From:   Damaris
Response to: Custom Delete Method Not Needed

Yes, I've noticed that now I have done this second part. However, when I try to make this into practice, I write:


<%= link_to "Mydelete", :action => "destroy", :id => recipe.id %>


in the list.rhtml, but this does not work, it simply does nothing!!
Suggestions?

Full Threads Oldest First

Showing messages 1 through 2 of 2.

  • Custom Delete Method Not Needed
    2007-01-25 16:02:06  bhoarl [View]

    I wish someone would have answered you, as I am having the same problem. I'm running locomotive -- perhaps it has to do with which environment it's using (testing/development/production)??

    Thanks for any help!
    • Curt Hibbs photo Custom Delete Method Not Needed
      2007-01-25 19:30:35  Curt Hibbs | O'Reilly AuthorO'Reilly Blogger [View]

      You might want to try the updated version of the tutorial:

      http://www.oreillynet.com/pub/a/onlamp/2006/12/14/revisiting-ruby-on-rails-revisited.html
      http://www.oreillynet.com/pub/a/onlamp/2007/01/05/revisiting-ruby-on-rails-revisited-2.html

      Curt