Women in Technology

Hear us Roar



Article:
  Rolling with Ruby on Rails, Part 2
Subject:   Custom Delete Method Not Needed
Date:   2005-10-14 22:43:50
From:   curth
Response to: Custom Delete Method Not Needed

Good catch!
Full Threads Newest First

Showing messages 1 through 3 of 3.

  • Custom Delete Method Not Needed
    2006-07-30 11:41:11  Damaris [View]

    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?
    • 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