search for: destroy_feed

Displaying 1 result from an estimated 1 matches for "destroy_feed".

Did you mean: destroy_fd
2006 Mar 01
2
In_place_editor in a For loop
...my code so far: <% if @feeds -%> <% for feed in @feeds %> <li id="feed-<%= feed.id %>"><%= in_place_editor_field (:feed, :url) %> - <%= link_to_remote "Delete", :update => "feed", :url => { :action => "destroy_feed", :id => feed.id } %></li> <% end -%> <% end -%> The error I am getting back is: Called id for nil, which would mistakenly be 4 -- if you really wanted the id of nil, use object_id I''m assuming this is because the in_place_editor is being called with...