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?

Main Topics Oldest First

Showing messages 1 through 1 of 1.

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